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 <berickxx@gmail.com>
// 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);
}