[open-ils-commits] r15538 - trunk/Open-ILS/web/js/dojo/openils/widget (erickson)

svn at svn.open-ils.org svn at svn.open-ils.org
Mon Feb 15 15:42:31 EST 2010


Author: erickson
Date: 2010-02-15 15:42:26 -0500 (Mon, 15 Feb 2010)
New Revision: 15538

Modified:
   trunk/Open-ILS/web/js/dojo/openils/widget/AutoGrid.js
Log:
make sure self is defined before we use it in the callback

Modified: trunk/Open-ILS/web/js/dojo/openils/widget/AutoGrid.js
===================================================================
--- trunk/Open-ILS/web/js/dojo/openils/widget/AutoGrid.js	2010-02-15 19:19:21 UTC (rev 15537)
+++ trunk/Open-ILS/web/js/dojo/openils/widget/AutoGrid.js	2010-02-15 20:42:26 UTC (rev 15538)
@@ -371,6 +371,7 @@
                 var grid = this;
                 var fmObject = new fieldmapper[this.fmClass]().fromStoreItem(storeItem);
                 var idents = grid.store.getIdentityAttributes();
+                var self = this;
 
                 var pane = new openils.widget.EditPane({
                     fmObject:fmObject,



More information about the open-ils-commits mailing list