mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-14 22:05:44 +00:00
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:
parent
4cf8456264
commit
445be78a49
@ -146,13 +146,13 @@ function ReadAvailableLanguages()
|
||||
curItem = curItem.QueryInterface(Components.interfaces.nsIPropertyElement);
|
||||
|
||||
//dump string name (key)
|
||||
stringName = curItem.getKey();
|
||||
stringName = curItem.key;
|
||||
stringNameProperty = stringName.split('.');
|
||||
|
||||
if (stringNameProperty[1] == 'accept') {
|
||||
|
||||
//dump the UI string (value)
|
||||
visible = curItem.getValue();
|
||||
visible = curItem.value;
|
||||
|
||||
//if (visible == 'true') {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user