From a9956ab8337429195b437d39e90ee86eb63aef68 Mon Sep 17 00:00:00 2001 From: pines Date: Thu, 16 Mar 2006 16:34:14 +0000 Subject: [PATCH] shotgun fix git-svn-id: svn://svn.open-ils.org/ILS/trunk@3377 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- .../xul/staff_client/chrome/content/auth/controller.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Open-ILS/xul/staff_client/chrome/content/auth/controller.js b/Open-ILS/xul/staff_client/chrome/content/auth/controller.js index b1a3e87384..f0d45096f4 100644 --- a/Open-ILS/xul/staff_client/chrome/content/auth/controller.js +++ b/Open-ILS/xul/staff_client/chrome/content/auth/controller.js @@ -188,6 +188,7 @@ auth.controller.prototype = { } obj.test_version(url); } catch(E) { + obj.controller.view.server_prompt.disabled = false; s.setAttribute('value','There was an error testing this hostname.'); s.setAttribute('style','color: red;'); obj.error.sdump('D_ERROR',E); @@ -198,6 +199,7 @@ auth.controller.prototype = { s.setAttribute('value','There was an error testing this hostname.'); s.setAttribute('style','color: brown;'); obj.error.sdump('D_ERROR',E); + obj.controller.view.server_prompt.disabled = false; } }, @@ -227,6 +229,7 @@ auth.controller.prototype = { s.setAttribute('value','There was an error checking version support.'); s.setAttribute('style','color: red;'); obj.error.sdump('D_ERROR',E); + obj.controller.view.server_prompt.disabled = false; } } x.send(null); @@ -234,6 +237,7 @@ auth.controller.prototype = { s.setAttribute('value','There was an error checking version support.'); s.setAttribute('style','color: brown;'); obj.error.sdump('D_ERROR',E); + obj.controller.view.server_prompt.disabled = false; } }, @@ -252,13 +256,16 @@ auth.controller.prototype = { } else { alert('This server does not support your version of the staff client. Please check with your system administrator.'); } + obj.controller.view.server_prompt.disabled = false; } catch(E) { obj.error.sdump('D_ERROR',E); + obj.controller.view.server_prompt.disabled = false; } } x.send(null); } catch(E) { obj.error.sdump('D_ERROR',E); + obj.controller.view.server_prompt.disabled = false; } }, -- 2.43.2