From 70d952428c3194fd97a01f45b18357eb8aa3d537 Mon Sep 17 00:00:00 2001 From: Pasi Kallinen Date: Mon, 22 Jul 2013 10:16:36 +0300 Subject: [PATCH] Always show grid buttons on My Selection List Fix LP#1028601 by showing the selection list creation buttons in the acq search UI even when there are no search results. Signed-off-by: Pasi Kallinen Signed-off-by: Remington Steed Signed-off-by: Ben Shum --- Open-ILS/web/js/ui/default/acq/search/unified.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Open-ILS/web/js/ui/default/acq/search/unified.js b/Open-ILS/web/js/ui/default/acq/search/unified.js index a59f4eb994..39831da4f4 100644 --- a/Open-ILS/web/js/ui/default/acq/search/unified.js +++ b/Open-ILS/web/js/ui/default/acq/search/unified.js @@ -722,7 +722,11 @@ function ResultManager(liPager, poGrid, plGrid, invGrid) { "interface": self.invGrid }, "no_results": { - "revealer": function() { alert(localeStrings.NO_RESULTS); } + "revealer": function() { + alert(localeStrings.NO_RESULTS); + self.show('picklist'); + self.plGrid.hideLoadProgressIndicator(); + } } } }; -- 2.11.0