Changeset 309 for trunk/web-app
- Timestamp:
- Feb 1, 2010, 11:59:57 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/web-app/js/overlayPane.js
r307 r309 8 8 9 9 function hideAssetTreePane(paneDivId, tableDivId, saveUrl) { 10 11 // Hide the pane.12 $(paneDivId).toggle();13 10 14 11 var visibleDivs = $(tableDivId).select('div').findAll(function(el) { return el.visible(); }) … … 25 22 26 23 // Post the id's of all visible divs. 27 new Ajax.Request(saveUrl, {parameters: params}); 24 // asynchronous: false is against the prototype recommendations but appears to be needed in this case. 25 new Ajax.Request(saveUrl, {parameters: params, asynchronous: false}); 26 27 // Hide the pane. 28 $(paneDivId).toggle(); 28 29 } 29 30
Note: See TracChangeset
for help on using the changeset viewer.