JBAS-769 Increase CHS print dialog timeout
authorBill Erickson <berickxx@gmail.com>
Wed, 24 Jun 2015 19:48:18 +0000 (15:48 -0400)
committerBill Erickson <berickxx@gmail.com>
Thu, 21 Mar 2019 19:46:23 +0000 (15:46 -0400)
With larger print list, the print dialog needs more time before closing
to ensure all print data is successfully delivered to the printer.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/web/opac/extras/circ/alt_holds_print.js

index 06a6c48..4075a98 100644 (file)
@@ -250,7 +250,7 @@ function do_clear_holds_from_cache(cache_key) {
                     function() {
                         if (any) window.print();
                         else alert(dojo.byId("no_results").innerHTML);
-                    }, 500  /* give the progress_dialog more time to go away */
+                    }, 2000  /* give the progress_dialog more time to go away */
                 );
             }
         }