Changeset 311


Ignore:
Timestamp:
Feb 2, 2010, 9:57:11 AM (15 years ago)
Author:
gav
Message:

Format to 4 spaces, no tabs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/web-app/js/application.js

    r55 r311  
    11var Ajax;
    22if (Ajax && (Ajax != null)) {
    3         Ajax.Responders.register({
    4           onCreate: function() {
     3    Ajax.Responders.register({
     4    onCreate: function() {
    55        if($('spinner') && Ajax.activeRequestCount>0)
    6           Effect.Appear('spinner',{duration:0.5,queue:'end'});
    7           },
    8           onComplete: function() {
     6        Effect.Appear('spinner',{duration:0.5,queue:'end'});
     7    },
     8    onComplete: function() {
    99        if($('spinner') && Ajax.activeRequestCount==0)
    10           Effect.Fade('spinner',{duration:0.5,queue:'end'});
    11           }
    12         });
     10        Effect.Fade('spinner',{duration:0.5,queue:'end'});
     11    }
     12    });
    1313}
Note: See TracChangeset for help on using the changeset viewer.