[open-ils-commits] r13075 - trunk/Open-ILS/web/js/dojo/openils/widget (erickson)
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue May 5 11:30:36 EDT 2009
Author: erickson
Date: 2009-05-05 11:30:34 -0400 (Tue, 05 May 2009)
New Revision: 13075
Modified:
trunk/Open-ILS/web/js/dojo/openils/widget/AutoGrid.js
Log:
update grid after dialog hide. use the new attr() call to set the grid structure
Modified: trunk/Open-ILS/web/js/dojo/openils/widget/AutoGrid.js
===================================================================
--- trunk/Open-ILS/web/js/dojo/openils/widget/AutoGrid.js 2009-05-05 15:29:02 UTC (rev 13074)
+++ trunk/Open-ILS/web/js/dojo/openils/widget/AutoGrid.js 2009-05-05 15:30:34 UTC (rev 13075)
@@ -29,7 +29,7 @@
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 @@
this.editDialog.hide();
this.editDialog.destroy();
delete this.editDialog;
+ this.update();
},
hidePane : function() {
More information about the open-ils-commits
mailing list