From 45c19206a6807c14e1c2b4c368557f8c85fe615c Mon Sep 17 00:00:00 2001 From: erickson Date: Mon, 9 Feb 2009 17:56:49 +0000 Subject: [PATCH] not sure why views[1] was working before, but it's not now git-svn-id: svn://svn.open-ils.org/ILS/trunk@12118 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/web/js/dojo/openils/widget/AutoGrid.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Open-ILS/web/js/dojo/openils/widget/AutoGrid.js b/Open-ILS/web/js/dojo/openils/widget/AutoGrid.js index 48b3c9a4ad..4e715f58b5 100644 --- a/Open-ILS/web/js/dojo/openils/widget/AutoGrid.js +++ b/Open-ILS/web/js/dojo/openils/widget/AutoGrid.js @@ -86,11 +86,11 @@ if(!dojo._hasResource['openils.widget.AutoGrid']) { } 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 @@ if(!dojo._hasResource['openils.widget.AutoGrid']) { 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); }, }); -- 2.11.0