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
Родитель 4283a2ba2c
Коммит 94d59b2f23
2 изменённых файлов: 3 добавлений и 3 удалений

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

@ -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) {

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

@ -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.