From: pines Date: Tue, 19 Sep 2006 18:57:38 +0000 (+0000) Subject: friendlier login error prompt X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=dd670c842836d198e8d5baccf8a47229ddbe1429;p=evergreen%2Fpines.git friendlier login error prompt git-svn-id: svn://svn.open-ils.org/ILS/trunk@6143 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/xul/staff_client/chrome/content/auth/session.js b/Open-ILS/xul/staff_client/chrome/content/auth/session.js index a4a20f58cc..80baa7b13e 100644 --- a/Open-ILS/xul/staff_client/chrome/content/auth/session.js +++ b/Open-ILS/xul/staff_client/chrome/content/auth/session.js @@ -63,12 +63,12 @@ auth.session.prototype = { this.key = robj.payload.authtoken; this.authtime = robj.payload.authtime; } else { - this.error.standard_unexpected_error_alert('auth.session.init',robj); + //this.error.standard_unexpected_error_alert('auth.session.init',robj); throw(robj); } break; default: - obj.error.standard_unexpected_error_alert('auth.session.init',robj); + //obj.error.standard_unexpected_error_alert('auth.session.init',robj); throw(robj); break; } @@ -88,7 +88,8 @@ auth.session.prototype = { } } catch(E) { - obj.error.standard_unexpected_error_alert('Error on auth.session.init()',E); + alert('Login failed. Please check your Server Hostname, Username, Password, and your CAPS LOCK key.'); + //obj.error.standard_unexpected_error_alert('Error on auth.session.init()',E); if (typeof this.on_init_error == 'function') { this.error.sdump('D_AUTH','auth.session.on_init_error()\n');