JBAS-1306 Lost pay dialog login failure fixes
authorBill Erickson <berickxx@gmail.com>
Tue, 16 Oct 2018 14:46:20 +0000 (10:46 -0400)
committerBill Erickson <berickxx@gmail.com>
Thu, 21 Mar 2019 19:46:23 +0000 (15:46 -0400)
Avoid ressetting the password after a login failure in the lost/paid
dialog, because at the point the login fails, the dialog no longer
exists.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/xul/staff_client/server/patron/bill2.js

index 956f774..8750c06 100644 (file)
@@ -335,7 +335,6 @@ function handle_lost_payment_dialog(payment_blob) {
 
             if (resp.textcode == 'LDAP_AUTH_FAILED') {
                 alert('Secondary Authentication Failed');
-                $('apply_payment_password').value = '';
 
             } else {
                 g.error.standard_unexpected_error_alert(