зеркало из https://github.com/mozilla/gecko-dev.git
stop neglecting to specify an URL to open in the prefs window. fixes bug 10589.
This commit is contained in:
Родитель
931e33f799
Коммит
e30f7e7efb
|
@ -208,7 +208,7 @@ NS_IMETHODIMP nsPrefWindow::showWindow(
|
|||
nsIXULWindowCallbacks *cb = nsnull;
|
||||
nsCOMPtr<nsIWebShellWindow> parent;
|
||||
DOMWindowToWebShellWindow(currentFrontWin, &parent);
|
||||
rv = appShell->RunModalDialog(nsnull, parent, nsnull,
|
||||
rv = appShell->RunModalDialog(nsnull, parent, urlObj,
|
||||
NS_CHROME_ALL_CHROME | NS_CHROME_OPEN_AS_DIALOG,
|
||||
cb, 504, 436);
|
||||
return rv;
|
||||
|
|
Загрузка…
Ссылка в новой задаче