avoid multiple clicks of selfcheck logout link
authorgmc <gmc@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 27 Sep 2010 01:43:12 +0000 (01:43 +0000)
committergmc <gmc@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 27 Sep 2010 01:43:12 +0000 (01:43 +0000)
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/trunk@18021 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/js/ui/default/circ/selfcheck/selfcheck.js

index 4ef30e5..aeeacef 100644 (file)
@@ -1447,6 +1447,7 @@ SelfCheckManager.prototype.printFinesReceipt = function(callback) {
  * Logout the patron and return to the login page
  */
 SelfCheckManager.prototype.logoutPatron = function(print) {
  * Logout the patron and return to the login page
  */
 SelfCheckManager.prototype.logoutPatron = function(print) {
+    progressDialog.show(true); // prevent patron from clicking logout link twice
     if(print && this.checkouts.length) {
         this.printSessionReceipt(
             function() {
     if(print && this.checkouts.length) {
         this.printSessionReceipt(
             function() {