From: erickson Date: Mon, 2 Mar 2009 15:44:05 +0000 (+0000) Subject: hide the grid before pane is built so user gets immediate feedback, reducing chance... X-Git-Tag: sprint4-merge-nov22~10672 X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=e1164d50b9146b5f0299d18c13ef08aaf4dac2c5;p=working%2FEvergreen.git hide the grid before pane is built so user gets immediate feedback, reducing chance of re-clicks git-svn-id: svn://svn.open-ils.org/ILS/trunk@12346 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/web/js/dojo/openils/widget/AutoGrid.js b/Open-ILS/web/js/dojo/openils/widget/AutoGrid.js index 69942845f7..e26fe8978d 100644 --- a/Open-ILS/web/js/dojo/openils/widget/AutoGrid.js +++ b/Open-ILS/web/js/dojo/openils/widget/AutoGrid.js @@ -230,27 +230,27 @@ if(!dojo._hasResource['openils.widget.AutoGrid']) { _drawEditPane : function(storeItem, rowIndex) { var self = this; var done = function() { self.hidePane(); }; + dojo.style(this.domNode, 'display', 'none'); this.editPane = this._makeEditPane(storeItem, rowIndex, done, done); this.editPane.startup(); this.domNode.parentNode.insertBefore(this.editPane.domNode, this.domNode); - dojo.style(this.domNode, 'display', 'none'); }, showClonePane : function(storeItem, rowIndex) { var self = this; var done = function() { self.hidePane(); }; + dojo.style(this.domNode, 'display', 'none'); this.editPane = this._makeClonePane(storeItem, rowIndex, done, done); this.domNode.parentNode.insertBefore(this.editPane.domNode, this.domNode); - dojo.style(this.domNode, 'display', 'none'); }, showCreatePane : function() { var self = this; var done = function() { self.hidePane(); }; + dojo.style(this.domNode, 'display', 'none'); this.editPane = this._makeCreatePane(done, done); this.editPane.startup(); this.domNode.parentNode.insertBefore(this.editPane.domNode, this.domNode); - dojo.style(this.domNode, 'display', 'none'); }, hideDialog : function() {