mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-02 15:15:23 +00:00
Bug 83313 "Open File" doesn't work on Mac when no windows are open p=bugs.mano@mail-central.com r=pedemonte sr=me
This commit is contained in:
parent
0521424a3f
commit
a383f5ebab
@ -1643,6 +1643,14 @@ function hiddenWindowStartup()
|
||||
broadcaster.setAttribute("disabled", "true");
|
||||
}
|
||||
|
||||
// Get the preferences service
|
||||
var prefService = Components.classes["@mozilla.org/preferences-service;1"]
|
||||
.getService(Components.interfaces.nsIPrefService);
|
||||
pref = prefService.getBranch(null);
|
||||
|
||||
// init global strings bundle
|
||||
gNavigatorBundle = document.getElementById("bundle_navigator");
|
||||
|
||||
// now load bookmarks after a delay
|
||||
setTimeout(hiddenWindowLoadBookmarksCallback, 0);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user