mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 01:48:05 +00:00
Fix for bug 71247. Changed SetUnicharPref to SetCharPref for ldap url preference.
r=dmose, sr=sspitzer, a=blizzard
This commit is contained in:
parent
4283a2ba2c
commit
94d59b2f23
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user