Fix for bug# 79934. Removed Login, Password UI from LDAP Server properties dialog.

r=mohanb, sr=spitzer, a=dbaron
This commit is contained in:
srilatha%netscape.com 2001-06-08 01:16:30 +00:00
Родитель b9748c74e9
Коммит 32941c4012
3 изменённых файлов: 1 добавлений и 32 удалений

Просмотреть файл

@ -75,15 +75,6 @@ function fillSettings()
prefValue = gMaxHits;
}
document.getElementById("results").value = prefValue;
try {
prefValue = gPrefInt.GetBoolPref(gCurrentDirectoryString+ ".auth.enabled");
}
catch(ex) {
prefValue = false;
}
if (prefValue) {
document.getElementById("login").checked = true;
}
}
}
@ -212,18 +203,6 @@ function onOK()
catch(ex) {
pref_string_content = false;
}
var auth = document.getElementById("login").checked;
if (auth && (auth != pref_string_content))
{
gPrefInt.SetBoolPref(pref_string_title, true);
}
else
{
try{
gPrefInt.ClearUserPref(pref_string_title);
}
catch(ex){}
}
window.opener.gNewServer = description;
window.opener.gNewServerString = gPref_string_desc;
window.close();

Просмотреть файл

@ -109,13 +109,7 @@
</row>
</rows>
</grid>
<box orient="horizontal">
<checkbox id="login" label="&loginID.label;"/>
</box>
<box orient="horizontal" class="indent">
<checkbox class="indent" id="password"
label="&password.label;" disabled="true"/>
</box>
<separator class="thin"/>
<box orient="horizontal">
<html>&scope.label;</html>
</box>

Просмотреть файл

@ -35,10 +35,6 @@ Rights Reserved.
<!ENTITY advancedOptionsTitle.label "Advanced Options">
<!ENTITY portNumber.label "Port Number: ">
<!ENTITY portNumber.accesskey "p">
<!ENTITY loginID.label "Login with username and password ">
<!ENTITY loginID.accesskey "n">
<!ENTITY password.label "Save password ">
<!ENTITY password.accesskey "a">
<!ENTITY searchFilter.label "Search Filter: ">
<!ENTITY searchFilter.accesskey "f">
<!ENTITY scope.label "Scope: ">