Update of /cvsroot/netpass/NetPass/www/htdocs/OSSTemplate/js
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6223/www/htdocs/OSSTemplate/js
Modified Files:
ldap.js lockcfg.js radius.js
Log Message:
bug fixes
Index: ldap.js
===================================================================
RCS file: /cvsroot/netpass/NetPass/www/htdocs/OSSTemplate/js/ldap.js,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- ldap.js 22 Aug 2005 20:39:35 -0000 1.3
+++ ldap.js 9 Sep 2005 12:32:11 -0000 1.4
@@ -43,7 +43,9 @@
if (o.options[i].selected) {
gotOne = true;
xh_post("/Admin/cmd/getLDAP.mhtml?server=" +
- o.options[i].value, "ldap_xh_results_getLDAP", prefix);
+ o.options[i].value +
+ "&npsess=" + session_id,
+ "ldap_xh_results_getLDAP", prefix);
}
}
if (!gotOne) ldap_clear_fields(prefix);
@@ -83,7 +85,8 @@
if (f && s && (f.value != '') && (s.selectedIndex > 0)) {
xh_post("/Admin/cmd/setLDAP.mhtml?server=" +
s.options[s.selectedIndex].value +
- "&passwordField=" + f.value,
+ "&passwordField=" + f.value +
+ "&npsess=" + session_id,
"ldap_xh_results_setLDAP", prefix);
}
}
Index: radius.js
===================================================================
RCS file: /cvsroot/netpass/NetPass/www/htdocs/OSSTemplate/js/radius.js,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- radius.js 22 Aug 2005 20:39:35 -0000 1.3
+++ radius.js 9 Sep 2005 12:32:11 -0000 1.4
@@ -39,7 +39,9 @@
if (o.options[i].selected) {
gotOne = true;
xh_post("/Admin/cmd/getRadiusSecret.mhtml?server=" +
- o.options[i].value, "radius_xh_results_getSecret", prefix);
+ o.options[i].value +
+ "&npsess=" + session_id,
+ "radius_xh_results_getSecret", prefix);
}
}
if (!gotOne) {
@@ -57,7 +59,8 @@
if ( sc && sv && (sc.value != '') && (sv.selectedIndex > 0) ) {
xh_post("/Admin/cmd/setRadiusSecret.mhtml?server=" +
sv.options[sv.selectedIndex].value +
- "&secret=" + sc.value,
+ "&secret=" + sc.value +
+ "&npsess=" + session_id,
"radius_xh_results_setSecret", prefix);
}
}
Index: lockcfg.js
===================================================================
RCS file: /cvsroot/netpass/NetPass/www/htdocs/OSSTemplate/js/lockcfg.js,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- lockcfg.js 6 May 2005 03:09:50 -0000 1.2
+++ lockcfg.js 9 Sep 2005 12:32:11 -0000 1.3
@@ -67,7 +67,10 @@
}
lockOpPending = true;
- var url = "/Admin/cmd/lockcfg.mhtml?printable=2&lock="+lock +"&force="+force;
+ var url = "/Admin/cmd/lockcfg.mhtml?printable=2&lock="
+ + lock
+ + "&force=" + force
+ + "&npsess=" + session_id;
xmlhttp.open("GET", url , true);
xmlhttp.onreadystatechange=function() {
if (xmlhttp.readyState == 4) {
|