зеркало из https://github.com/mozilla/pjs.git
Fix for bug 158373: [REG] AOD is showing up on the end user's component
list (r=smeredith)
This commit is contained in:
Родитель
cc6da1eafc
Коммит
32f0430cdd
|
@ -1839,10 +1839,15 @@ void invisible()
|
|||
if ( (strAttributes.Find("SELECTED")) != -1 )
|
||||
strAttributes.Replace("SELECTED", "UNSELECTED");
|
||||
}
|
||||
|
||||
WritePrivateProfileString(Components[i].compname, "Attributes",
|
||||
|
||||
if (strcmp(strAttributes, "SELECTED") == 0)
|
||||
// Include INVISIBLE attribute for AOD component
|
||||
WritePrivateProfileString(Components[i].compname, "Attributes",
|
||||
"SELECTED|INVISIBLE", iniDstPath);
|
||||
else
|
||||
WritePrivateProfileString(Components[i].compname, "Attributes",
|
||||
strAttributes, iniDstPath);
|
||||
componentOrder++;
|
||||
componentOrder++;
|
||||
}
|
||||
else
|
||||
WritePrivateProfileString(Components[i].compname, "Attributes",
|
||||
|
|
Загрузка…
Ссылка в новой задаче