зеркало из https://github.com/mozilla/gecko-dev.git
Adds a new arg to the PP call. The new arg is not being used, it is
for future and is needed for the API freeze. Bug 144716 r=dcone sr=attinasi
This commit is contained in:
Родитель
f7d6ea9edd
Коммит
3124d37813
|
@ -252,7 +252,7 @@ function BrowserPrintPreview()
|
|||
Components.interfaces.nsIWebBrowserPrint);
|
||||
if (webBrowserPrint) {
|
||||
gPrintSettings = GetPrintSettings();
|
||||
webBrowserPrint.printPreview(gPrintSettings, null);
|
||||
webBrowserPrint.printPreview(gPrintSettings, null, null);
|
||||
}
|
||||
|
||||
// show the toolbar after we go into print preview mode so
|
||||
|
@ -289,7 +289,7 @@ function BrowserPrintSetup()
|
|||
psService.savePrintSettingsToPrefs(gPrintSettings, false, gPrintSettings.kInitSaveNativeData);
|
||||
}
|
||||
if (webBrowserPrint.doingPrintPreview) {
|
||||
webBrowserPrint.printPreview(gPrintSettings, null);
|
||||
webBrowserPrint.printPreview(gPrintSettings, null, null);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче