stop neglecting to specify an URL to open in the prefs window. fixes bug 10589.

This commit is contained in:
danm%netscape.com 1999-07-30 23:42:43 +00:00
Родитель 931e33f799
Коммит e30f7e7efb
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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;