Bug 851242 - Opening the Add-ons Manager via the -chrome command line switch doesn't load add-on list correctly. r=Unfocused

This commit is contained in:
Sachin Hosmani 2013-04-21 14:09:32 +05:30
parent d57ea101ca
commit 4b7c54972f

View File

@ -102,7 +102,7 @@ function initialize(event) {
// Allow passing in a view through the window arguments
if ("arguments" in window && window.arguments.length > 0 &&
"view" in window.arguments[0]) {
window.arguments[0] !== null && "view" in window.arguments[0]) {
view = window.arguments[0].view;
}