Align with revised nsIPropertyElement interface: move getters/setters to
directly access the key and value attributes. b=113870; r=morse; sr=alecf git-svn-id: svn://10.0.0.236/trunk@110032 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
158a974300
commit
4a344e1272
@ -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…
x
Reference in New Issue
Block a user