From: senator Date: Mon, 20 Sep 2010 05:05:00 +0000 (+0000) Subject: Acq: change a FilteringSelect dijit to a regular to avoid a manifestation of Dojo bug #11062; add more refresh grid buttons to unified search "Refresh Grid" buttons are a sad little stopgap measure to address a problem where some AutoGrids show only some of the rows they're supposed to. Calling .refresh() on the AutoGrid consitently right the grid. Maybe the problem is some kind of race condition, and maybe it's related to the use of "get" and "formatter" attributes for some columns. Or maybe it's something else. Attempts continue to find the root of the problem and repair it. git-svn-id: svn://svn.open-ils.org/ILS/trunk@17829 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- 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 5e7357bc3..3f58eecaa 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 @@ -75,11 +75,10 @@ function AcqLiTable() { } ); - dojo.connect(acqLitLiActionsSelector, 'onChange', - function() { - self.applySelectedLiAction(this.attr('value')) - acqLitLiActionsSelector.attr('value', '_'); - }); + dojo.byId("acq-lit-li-actions-selector").onchange = function() { + self.applySelectedLiAction(this.options[this.selectedIndex].value); + this.selectedIndex = 0; + }; acqLitCreatePoSubmit.onClick = function() { if (self._confirmPoPrepaySituation()) { diff --git a/Open-ILS/web/templates/default/acq/common/li_table.tt2 b/Open-ILS/web/templates/default/acq/common/li_table.tt2 index 69e91d949..4ff02e88b 100644 --- a/Open-ILS/web/templates/default/acq/common/li_table.tt2 +++ b/Open-ILS/web/templates/default/acq/common/li_table.tt2 @@ -13,7 +13,7 @@ - diff --git a/Open-ILS/web/templates/default/acq/search/unified.tt2 b/Open-ILS/web/templates/default/acq/search/unified.tt2 index 1c2fd649f..1d3f36936 100644 --- a/Open-ILS/web/templates/default/acq/search/unified.tt2 +++ b/Open-ILS/web/templates/default/acq/search/unified.tt2 @@ -89,6 +89,11 @@