mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 19:35:51 +00:00
Bug 102153. Javascript strict warnings in pref-contentpacks.xul. Patch by Stephen Walker <walk84@yahoo.com> r=stephend/sr=alecf
This commit is contained in:
parent
0bd485ceda
commit
131f1bfab3
@ -64,10 +64,10 @@
|
||||
if (tree) {
|
||||
var selectedItem = tree.selectedItems.length ? tree.selectedItems[0] : null;
|
||||
if (selectedItem) {
|
||||
var newContentPack = selectedItem.firstChild.firstChild.getAttribute("value");
|
||||
newContentPack = selectedItem.firstChild.firstChild.getAttribute("value");
|
||||
}
|
||||
} else {
|
||||
var newContentPack = parent.hPrefWindow.wsm.dataManager.getItemData( "chrome://communicator/content/pref/pref-content.xul", "contentPackTree" ).prefvalue;
|
||||
newContentPack = parent.hPrefWindow.wsm.dataManager.getItemData( "chrome://communicator/content/pref/pref-content.xul", "contentPackTree" ).prefvalue;
|
||||
}
|
||||
}
|
||||
catch (e) {}
|
||||
|
Loading…
Reference in New Issue
Block a user