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:
sgehani%netscape.com 2001-12-07 21:41:50 +00:00
parent 4cf8456264
commit 445be78a49

View File

@ -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') {