Always show grid buttons on My Selection List
authorPasi Kallinen <pasi.kallinen@pttk.fi>
Mon, 22 Jul 2013 07:16:36 +0000 (10:16 +0300)
committerBen Shum <bshum@biblio.org>
Wed, 14 Aug 2013 01:45:06 +0000 (21:45 -0400)
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 <pasi.kallinen@pttk.fi>
Signed-off-by: Remington Steed <rjs7@calvin.edu>
Signed-off-by: Ben Shum <bshum@biblio.org>
Open-ILS/web/js/ui/default/acq/search/unified.js

index a59f4eb..39831da 100644 (file)
@@ -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();
+                }
             }
         }
     };