From d5e01b90443ae3c6f738e4e2ab4b3593ec1bf3ae Mon Sep 17 00:00:00 2001 From: pines Date: Thu, 16 Mar 2006 16:24:12 +0000 Subject: [PATCH] cosmetic, and display the version git-svn-id: svn://svn.open-ils.org/ILS/trunk@3376 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/chrome/content/auth/controller.js | 1 + Open-ILS/xul/staff_client/chrome/content/main/main.js | 4 ++++ Open-ILS/xul/staff_client/chrome/content/main/main.xul | 3 +-- Open-ILS/xul/staff_client/chrome/skin/global.css | 5 +++++ 4 files changed, 11 insertions(+), 2 deletions(-) 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 fd14ed4561..b1a3e87384 100644 --- a/Open-ILS/xul/staff_client/chrome/content/auth/controller.js +++ b/Open-ILS/xul/staff_client/chrome/content/auth/controller.js @@ -169,6 +169,7 @@ auth.controller.prototype = { if (!url) { s.setAttribute('value','Please enter a server hostname.'); s.setAttribute('style','color: red;'); + obj.controller.view.server_prompt.disabled = false; return; } try { diff --git a/Open-ILS/xul/staff_client/chrome/content/main/main.js b/Open-ILS/xul/staff_client/chrome/content/main/main.js index 6355c1169d..be10211915 100644 --- a/Open-ILS/xul/staff_client/chrome/content/main/main.js +++ b/Open-ILS/xul/staff_client/chrome/content/main/main.js @@ -111,6 +111,10 @@ function main_init() { // XML_HTTP_SERVER will get reset to G.auth.controller.view.server_prompt.value ///////////////////////////////////////////////////////////////////////////// + + var x = document.getElementById('version_label'); + x.setAttribute('value','Build ID: ' + '/xul/server/'.split(/\//)[2]); + } catch(E) { var error = "!! This software has encountered an error. Please tell your friendly " + "system administrator or software developer the following:\n" + E + '\n'; diff --git a/Open-ILS/xul/staff_client/chrome/content/main/main.xul b/Open-ILS/xul/staff_client/chrome/content/main/main.xul index 0cbbc97b1a..e8d47c7db5 100644 --- a/Open-ILS/xul/staff_client/chrome/content/main/main.xul +++ b/Open-ILS/xul/staff_client/chrome/content/main/main.xul @@ -74,8 +74,7 @@ -