[open-ils-commits] r18021 - trunk/Open-ILS/web/js/ui/default/circ/selfcheck (gmc)

svn at svn.open-ils.org svn at svn.open-ils.org
Sun Sep 26 21:43:14 EDT 2010


Author: gmc
Date: 2010-09-26 21:43:12 -0400 (Sun, 26 Sep 2010)
New Revision: 18021

Modified:
   trunk/Open-ILS/web/js/ui/default/circ/selfcheck/selfcheck.js
Log:
avoid multiple clicks of selfcheck logout link

Signed-off-by: Galen Charlton <gmc at esilibrary.com>


Modified: trunk/Open-ILS/web/js/ui/default/circ/selfcheck/selfcheck.js
===================================================================
--- trunk/Open-ILS/web/js/ui/default/circ/selfcheck/selfcheck.js	2010-09-26 23:24:35 UTC (rev 18020)
+++ trunk/Open-ILS/web/js/ui/default/circ/selfcheck/selfcheck.js	2010-09-27 01:43:12 UTC (rev 18021)
@@ -1447,6 +1447,7 @@
  * 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() {



More information about the open-ils-commits mailing list