зеркало из https://github.com/mozilla/gecko-dev.git
Fix for bug 71247. Changed SetUnicharPref to SetCharPref for ldap url preference.
r=dmose, sr=sspitzer, a=blizzard
This commit is contained in:
Родитель
4283a2ba2c
Коммит
94d59b2f23
|
@ -50,7 +50,7 @@ function fillSettings()
|
||||||
{
|
{
|
||||||
document.getElementById("description").value = prefValue;
|
document.getElementById("description").value = prefValue;
|
||||||
try{
|
try{
|
||||||
prefValue = gPrefInt.CopyUnicharPref(gCurrentDirectoryString +".uri");
|
prefValue = gPrefInt.CopyCharPref(gCurrentDirectoryString +".uri");
|
||||||
}
|
}
|
||||||
catch(ex){
|
catch(ex){
|
||||||
prefValue="";
|
prefValue="";
|
||||||
|
@ -259,7 +259,7 @@ function onOK()
|
||||||
ldapUrl.scope = 2;
|
ldapUrl.scope = 2;
|
||||||
}
|
}
|
||||||
pref_string_title = gPref_string_desc + ".uri";
|
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_content = results;
|
||||||
pref_string_title = gPref_string_desc + ".maxHits";
|
pref_string_title = gPref_string_desc + ".maxHits";
|
||||||
if (pref_string_content != gMaxHits) {
|
if (pref_string_content != gMaxHits) {
|
||||||
|
|
|
@ -178,7 +178,7 @@ function () {
|
||||||
}
|
}
|
||||||
ldapUrl.port = port;
|
ldapUrl.port = port;
|
||||||
ldapUrl.scope = 2;
|
ldapUrl.scope = 2;
|
||||||
gPrefInt.SetUnicharPref(pref_string + ".uri", ldapUrl.spec);
|
gPrefInt.SetCharPref(pref_string + ".uri", ldapUrl.spec);
|
||||||
/* is this server selected for autocompletion?
|
/* is this server selected for autocompletion?
|
||||||
if yes, convert the preference to mozilla format.
|
if yes, convert the preference to mozilla format.
|
||||||
Atmost one server is selected for autocompletion.
|
Atmost one server is selected for autocompletion.
|
||||||
|
|
Загрузка…
Ссылка в новой задаче