зеркало из https://github.com/mozilla/pjs.git
Bug 666566 - newWindowWithTabView() should wait for browser-delayed-startup-finished; r=dietrich
This commit is contained in:
Родитель
06f7549b01
Коммит
2b64f18b04
|
@ -83,9 +83,11 @@ function newWindowWithTabView(shownCallback, loadCallback, width, height) {
|
|||
",width=" + winWidth);
|
||||
|
||||
whenWindowLoaded(win, function () {
|
||||
if (typeof loadCallback == "function")
|
||||
if (loadCallback)
|
||||
loadCallback(win);
|
||||
});
|
||||
|
||||
whenDelayedStartupFinished(win, function () {
|
||||
showTabView(function () shownCallback(win), win);
|
||||
});
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче