[open-ils-commits] r11695 - trunk/Open-ILS/web/js/dojo/openils/widget

svn at svn.open-ils.org svn at svn.open-ils.org
Mon Dec 29 13:46:36 EST 2008


Author: erickson
Date: 2008-12-29 13:46:33 -0500 (Mon, 29 Dec 2008)
New Revision: 11695

Modified:
   trunk/Open-ILS/web/js/dojo/openils/widget/GridColumnPicker.js
Log:
hide the grid while we wait for selected column info to return from the server

Modified: trunk/Open-ILS/web/js/dojo/openils/widget/GridColumnPicker.js
===================================================================
--- trunk/Open-ILS/web/js/dojo/openils/widget/GridColumnPicker.js	2008-12-29 18:45:55 UTC (rev 11694)
+++ trunk/Open-ILS/web/js/dojo/openils/widget/GridColumnPicker.js	2008-12-29 18:46:33 UTC (rev 11695)
@@ -47,6 +47,8 @@
                 this.cells = this.grid.structure[0].cells[0];
                 var self = this;
 
+                dojo.style(this.grid.domNode.id, 'visibility', 'hidden');
+
                 dojo.forEach(this.getChildren(),
                     function(child) {
                         for(var i in self.cells) {
@@ -107,6 +109,7 @@
             },
 
             _loadCallback : function(r) {
+                dojo.style(this.grid.domNode.id, 'visibility', 'visible');
                 if(settings = openils.Util.readResponse(r)) {
                     dojo.forEach(this.getChildren(),
                         function(child) {



More information about the open-ils-commits mailing list