[open-ils-commits] r8262 -
trunk/Open-ILS/xul/staff_client/server/cat
svn at svn.open-ils.org
svn at svn.open-ils.org
Fri Dec 21 01:39:57 EST 2007
Author: phasefx
Date: 2007-12-21 01:18:07 -0500 (Fri, 21 Dec 2007)
New Revision: 8262
Modified:
trunk/Open-ILS/xul/staff_client/server/cat/z3950.js
Log:
consider .auth for services
Modified: trunk/Open-ILS/xul/staff_client/server/cat/z3950.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/cat/z3950.js 2007-12-21 04:29:19 UTC (rev 8261)
+++ trunk/Open-ILS/xul/staff_client/server/cat/z3950.js 2007-12-21 06:18:07 UTC (rev 8262)
@@ -288,9 +288,11 @@
var username = document.createElement('textbox'); username.setAttribute('id',i+'_username');
if (obj.creds.hosts[ obj.data.server_unadorned ] && obj.creds.hosts[ obj.data.server_unadorned ].services[i]) username.setAttribute('value',obj.creds.hosts[ obj.data.server_unadorned ].services[i].username);
r.appendChild(username);
+ if (typeof robj[i].auth != 'undefined') username.hidden = ! get_bool( robj[i].auth );
var password = document.createElement('textbox'); password.setAttribute('id',i+'_password');
if (obj.creds.hosts[ obj.data.server_unadorned ] && obj.creds.hosts[ obj.data.server_unadorned ].services[i]) password.setAttribute('value',obj.creds.hosts[ obj.data.server_unadorned ].services[i].password);
password.setAttribute('type','password'); r.appendChild(password);
+ if (typeof robj[i].auth != 'undefined') password.hidden = ! get_bool( robj[i].auth );
}
setTimeout(
function() {
More information about the open-ils-commits
mailing list