Fix for bug 71247. Changed SetUnicharPref to SetCharPref for ldap url preference.

r=dmose, sr=sspitzer, a=blizzard
This commit is contained in:
srilatha%netscape.com 2001-06-22 06:20:05 +00:00
parent 4283a2ba2c
commit 94d59b2f23
2 changed files with 3 additions and 3 deletions

View File

@ -50,7 +50,7 @@ function fillSettings()
{
document.getElementById("description").value = prefValue;
try{
prefValue = gPrefInt.CopyUnicharPref(gCurrentDirectoryString +".uri");
prefValue = gPrefInt.CopyCharPref(gCurrentDirectoryString +".uri");
}
catch(ex){
prefValue="";
@ -259,7 +259,7 @@ function onOK()
ldapUrl.scope = 2;
}
pref_string_title = gPref_string_desc + ".uri";
gPrefInt.SetUnicharPref(pref_string_title, ldapUrl.spec);
gPrefInt.SetCharPref(pref_string_title, ldapUrl.spec);
pref_string_content = results;
pref_string_title = gPref_string_desc + ".maxHits";
if (pref_string_content != gMaxHits) {

View File

@ -178,7 +178,7 @@ function () {
}
ldapUrl.port = port;
ldapUrl.scope = 2;
gPrefInt.SetUnicharPref(pref_string + ".uri", ldapUrl.spec);
gPrefInt.SetCharPref(pref_string + ".uri", ldapUrl.spec);
/* is this server selected for autocompletion?
if yes, convert the preference to mozilla format.
Atmost one server is selected for autocompletion.