source: branches/util-apps/DomainUtil/web-app/js/application.js @ 920

Last change on this file since 920 was 766, checked in by gav, 14 years ago

Add branches/util-apps/DomainUtil application.

File size: 373 bytes
Line 
1var Ajax;
2if (Ajax && (Ajax != null)) {
3        Ajax.Responders.register({
4          onCreate: function() {
5        if($('spinner') && Ajax.activeRequestCount>0)
6          Effect.Appear('spinner',{duration:0.5,queue:'end'});
7          },
8          onComplete: function() {
9        if($('spinner') && Ajax.activeRequestCount==0)
10          Effect.Fade('spinner',{duration:0.5,queue:'end'});
11          }
12        });
13}
Note: See TracBrowser for help on using the repository browser.