Changeset 322 for trunk/web-app/js/assetTree.js
- Timestamp:
- Feb 8, 2010, 2:51:23 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/web-app/js/assetTree.js
r316 r322 4 4 Effect.Appear(paneDivId,{duration:0.4}); 5 5 6 // Pulsing loadingImg blocks the default grails animated giftill complete.7 // After which the default will show as normal.8 new Effect.Pulsate($(loadingImg), { pulses: 200, duration: 133 });6 // Disabled since pulsing effect blocks other javascript till complete. 7 // The effect may be stopped with e.cancel() but we will use the default Grails spinner for now. 8 // def e = new Effect.Pulsate($(loadingImg), { pulses: 200, duration: 133 }); 9 9 10 // The updater is only called once per page refresh.11 10 new Ajax.Updater({ success: paneDivId }, url, {asynchronous:true,evalScripts:true}); 12 11 } … … 34 33 new Ajax.Request(saveUrl, {parameters: params, asynchronous: false}); 35 34 } 36 37 function toggleBranch(divId, imageId, openImgUrl, closedImgUrl) {38 39 $(divId).toggle();40 41 if( $(divId).visible() ) {42 $(imageId).src= openImgUrl;43 }44 else {45 $(imageId).src= closedImgUrl;46 }47 48 }
Note: See TracChangeset
for help on using the changeset viewer.