From 5f66e1a4557b112873477822ca7c32ce92c01688 Mon Sep 17 00:00:00 2001 From: erickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4> Date: Tue, 5 May 2009 15:30:34 +0000 Subject: [PATCH] update grid after dialog hide. use the new attr() call to set the grid structure git-svn-id: svn://svn.open-ils.org/ILS/trunk@13075 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/web/js/dojo/openils/widget/AutoGrid.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Open-ILS/web/js/dojo/openils/widget/AutoGrid.js b/Open-ILS/web/js/dojo/openils/widget/AutoGrid.js index 0926554410..d564800242 100644 --- a/Open-ILS/web/js/dojo/openils/widget/AutoGrid.js +++ b/Open-ILS/web/js/dojo/openils/widget/AutoGrid.js @@ -29,7 +29,7 @@ if(!dojo._hasResource['openils.widget.AutoGrid']) { openils.widget.AutoGrid.gridCache[this.sequence] = this; this.inherited(arguments); this.initAutoEnv(); - this.setStructure(this._compileStructure()); + this.attr('structure', this._compileStructure()); this.setStore(this.buildAutoStore()); this.overrideEditWidgets = {}; this.overrideEditWidgetClass = {}; @@ -371,6 +371,7 @@ if(!dojo._hasResource['openils.widget.AutoGrid']) { this.editDialog.hide(); this.editDialog.destroy(); delete this.editDialog; + this.update(); }, hidePane : function() { -- 2.11.0