source/web/extras/components/dashlets/audit-application.js
/**
       * Fired by YUI when parent element is available for scripting
       *
       * @method onReady
       */
Fired by YUI when parent element is available for scripting
@method onReady
Fired by YUI when parent element is available for scripting @method onReady
function AuditApplication_onReady()
      {
         this.titleContainer = Dom.get(this.id + "-title");
         this.bodyContainer = Dom.get(this.id + "-body");
         this.entriesContainer = Dom.get(this.id + "-entries");
         this.messageContainer = Dom.get(this.id + "-message");
         this.searchBoxContainer = Dom.get(this.id + "-searchWithinResultsFilter");
         this.searchBoxLabelContainer = Dom.get(this.id + "-searchWithinResultsFilterLabel");
         if(this.searchBoxLabelContainer != null)
         {
            if (YAHOO.env.ua.webkit > 0)
               Dom.removeClass(this.entriesContainer,"scrollableList");
            Event.addListener(this.id + "-configure-link", "click", this.onConfigClick, this, true);
            Event.addListener(this.id + "-refresh", "click", this.onRefresh, this, true);
            Event.addListener(this.searchBoxContainer,"keyup", this.onSearchWithinResultsFilterKeyup, this, true);
            this.init();
         }
      }
function AuditApplication_onReady ( ) { this . titleContainer = Dom . get ( this . id + "-title" ) ; this . bodyContainer = Dom . get ( this . id + "-body" ) ; this . entriesContainer = Dom . get ( this . id + "-entries" ) ; this . messageContainer = Dom . get ( this . id + "-message" ) ; this . searchBoxContainer = Dom . get ( this . id + "-searchWithinResultsFilter" ) ; this . searchBoxLabelContainer = Dom . get ( this . id + "-searchWithinResultsFilterLabel" ) ; if ( this . searchBoxLabelContainer != null ) { if ( YAHOO . env . ua . webkit > 0 ) Dom . removeClass ( this . entriesContainer , "scrollableList" ) ; Event . addListener ( this . id + "-configure-link" , "click" , this . onConfigClick , this , true ) ; Event . addListener ( this . id + "-refresh" , "click" , this . onRefresh , this , true ) ; Event . addListener ( this . searchBoxContainer , "keyup" , this . onSearchWithinResultsFilterKeyup , this , true ) ; this . init ( ) ; } }
Fired by YUI when parent element is available for scripting
 @method onReady
Fired by YUI when parent element is available for scripting @method onReady
// if there is no searchBox divs, the user is not an admin user. In this case there is no point initializing any further.