зеркало из https://github.com/mozilla/gecko-dev.git
Align with revised nsIPropertyElement interface: move getters/setters to
directly access the key and value attributes. b=113870; r=morse; sr=alecf
This commit is contained in:
Родитель
ff1781c010
Коммит
35f9a963e2
|
@ -146,13 +146,13 @@ function ReadAvailableLanguages()
|
||||||
curItem = curItem.QueryInterface(Components.interfaces.nsIPropertyElement);
|
curItem = curItem.QueryInterface(Components.interfaces.nsIPropertyElement);
|
||||||
|
|
||||||
//dump string name (key)
|
//dump string name (key)
|
||||||
stringName = curItem.getKey();
|
stringName = curItem.key;
|
||||||
stringNameProperty = stringName.split('.');
|
stringNameProperty = stringName.split('.');
|
||||||
|
|
||||||
if (stringNameProperty[1] == 'accept') {
|
if (stringNameProperty[1] == 'accept') {
|
||||||
|
|
||||||
//dump the UI string (value)
|
//dump the UI string (value)
|
||||||
visible = curItem.getValue();
|
visible = curItem.value;
|
||||||
|
|
||||||
//if (visible == 'true') {
|
//if (visible == 'true') {
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче