JBAS-935 ACQ unified search progress dialog repair
authorBill Erickson <berickxx@gmail.com>
Mon, 2 Nov 2015 15:23:10 +0000 (10:23 -0500)
committerBill Erickson <berickxx@gmail.com>
Thu, 21 Mar 2019 19:46:23 +0000 (15:46 -0400)
Launch progress dialog before building the lineitem table when unified
search displays lineitem / bib results, otherwise, in some cases, it's
launched after the table renders and thus after the .hid() call is made
and is never closed.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/web/js/ui/default/acq/search/unified.js

index 94c0aa7..518f864 100644 (file)
@@ -667,8 +667,8 @@ function ResultManager(liPager, poGrid, plGrid, invGrid) {
                     "flesh_notes": true
                 },
                 "revealer": function() {
-                    self.liPager.show();
                     progressDialog.show(true);
+                    self.liPager.show();
                 },
                 "finisher": function() {
                     self.liPager.batch_length = self.count_results;