From fc2d4b998c0668396cf41d20762f366ed9cb9c7a Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Fri, 15 Jan 2016 11:24:13 -0500 Subject: [PATCH] JBAS-1007 ACQ lib selector focus repair Allow text entry on lib selector focus by focusing the element with the needed id (the input element) instead of the element with the needed widgetid (the container element). Signed-off-by: Bill Erickson --- Open-ILS/web/js/ui/default/acq/common/li_table.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/web/js/ui/default/acq/common/li_table.js b/Open-ILS/web/js/ui/default/acq/common/li_table.js index f6c651c7ec..2f935b433f 100644 --- a/Open-ILS/web/js/ui/default/acq/common/li_table.js +++ b/Open-ILS/web/js/ui/default/acq/common/li_table.js @@ -2509,7 +2509,7 @@ function AcqLiTable() { // They are sequential, but don't necessarily start with _1, // since rows can be arbitrarily removed. var selector = dojo.query( - '[widgetid^="openils_widget_FilteringTreeSelect_"]', row)[0]; + '[id^="openils_widget_FilteringTreeSelect_"]', row)[0]; if (selector) selector.focus(); }, 100); } -- 2.11.0