From 9478246b4462d60a6e03248d87014b130ad907e6 Mon Sep 17 00:00:00 2001 From: "rods%netscape.com" Date: Thu, 14 Sep 2006 06:03:48 +0000 Subject: [PATCH] change printpreview toolbar over to a combobox with discrete values Bug 127857 r=sgehani sr=alecf --- suite/browser/browser.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/suite/browser/browser.js b/suite/browser/browser.js index 7e262d8f09a0..c08c14d6f613 100644 --- a/suite/browser/browser.js +++ b/suite/browser/browser.js @@ -269,7 +269,7 @@ function BrowserPrintPreview() function BrowserPrintSetup() { - + var didOK = false; try { var ifreq = _content.QueryInterface(Components.interfaces.nsIInterfaceRequestor); var webBrowserPrint = ifreq.getInterface(Components.interfaces.nsIWebBrowserPrint); @@ -277,7 +277,8 @@ function BrowserPrintSetup() gPrintSettings = GetPrintSettings(webBrowserPrint); } - if (goPageSetup(window, gPrintSettings)) { // from utilityOverlay.js + didOK = goPageSetup(window, gPrintSettings); // from utilityOverlay.js + if (didOK) { // from utilityOverlay.js if (webBrowserPrint) { if (gPrintSettingsAreGlobal && gSavePrintSettings) { @@ -291,6 +292,7 @@ function BrowserPrintSetup() } catch (e) { dump("BrowserPrintSetup "+e); } + return didOK; } function BrowserPrint()