JAVASCRIPT   48

deployment js

Guest on 6th August 2022 01:20:43 AM

  1. //    Licensed Materials - Property of IBM
  2. //
  3. //    IBM Cognos Products: ps
  4. //
  5. //    (C) Copyright IBM Corp.
  6. //
  7. //    US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  8. //    Copyright (C) Cognos Incorporated. All rights reserved.
  9. //    Cognos and the Cognos logo are trademarks of Cognos Incorporated.
  10. dojo.provide("ps.deployment");
  11.  
  12. dojo.declare("ps.deployment",null, {
  13.         targetLocationWarningExists: function(document) {
  14.                 return  dojo.query("img." + this.getWarningClass()).length > 0;
  15.         },
  16.         getWarningClass: function() {
  17.                 return "warningTargetLocation";
  18.         }
  19. });

Raw Paste


Login or Register to edit or fork this paste. It's free.