fixed mis-matched variable name. removed unnecessary dojo.connect() call
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 19 Nov 2009 21:57:14 +0000 (21:57 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 19 Nov 2009 21:57:14 +0000 (21:57 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14983 dcc99617-32d9-48b4-a31d-7c20da2025e4

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

index 6e4a6b4..66551c9 100644 (file)
@@ -133,11 +133,9 @@ SelfCheckManager.prototype.drawLoginPage = function() {
             // password is required.  wire up the scan box to read it
             self.updateScanBox({
                 msg : 'Please enter your password', // TODO i18n 
-                handler : function(pw) { self.loginPatron(barcode, ps); }
+                handler : function(pw) { self.loginPatron(barcode, pw); }
             });
 
-            dojo.connect(selfckScanBox, 'onKeyDown', pwHandler);
-
         } else {
             // password is not required, go ahead and login
             self.loginPatron(barcode);