[open-ils-commits] r12118 - trunk/Open-ILS/web/js/dojo/openils/widget (erickson)
svn at svn.open-ils.org
svn at svn.open-ils.org
Mon Feb 9 12:56:51 EST 2009
Author: erickson
Date: 2009-02-09 12:56:49 -0500 (Mon, 09 Feb 2009)
New Revision: 12118
Modified:
trunk/Open-ILS/web/js/dojo/openils/widget/AutoGrid.js
Log:
not sure why views[1] was working before, but it's not now
Modified: trunk/Open-ILS/web/js/dojo/openils/widget/AutoGrid.js
===================================================================
--- trunk/Open-ILS/web/js/dojo/openils/widget/AutoGrid.js 2009-02-09 17:56:19 UTC (rev 12117)
+++ trunk/Open-ILS/web/js/dojo/openils/widget/AutoGrid.js 2009-02-09 17:56:49 UTC (rev 12118)
@@ -86,11 +86,11 @@
}
dialog.destroy();
setTimeout(function(){
- grid.views.views[1].getCellNode(rowIndex, 0).focus();},200);
+ grid.views.views[0].getCellNode(rowIndex, 0).focus();},200);
},
onCancel : function() {
setTimeout(function(){
- grid.views.views[1].getCellNode(rowIndex, 0).focus();},200);
+ grid.views.views[0].getCellNode(rowIndex, 0).focus();},200);
}
});
dialog.editPane.fieldOrder = this.fieldOrder;
@@ -110,7 +110,7 @@
dialog.destroy();
setTimeout(function(){
grid.selection.select(grid.rowCount-1);
- grid.views.views[1].getCellNode(grid.rowCount-1, 1).focus();
+ grid.views.views[0].getCellNode(grid.rowCount-1, 1).focus();
},200);
},
});
More information about the open-ils-commits
mailing list