diff --git a/browser/base/content/browser.js b/browser/base/content/browser.js index 508211b8e2a4..393c2c155fe3 100644 --- a/browser/base/content/browser.js +++ b/browser/base/content/browser.js @@ -3000,6 +3000,10 @@ var PrintPreviewListener = { if (gFindBarInitialized) gFindBar.close(); + var globalNotificationBox = document.getElementById("global-notificationbox"); + this._chromeState.globalNotificationsOpen = !globalNotificationBox.notificationsHidden; + globalNotificationBox.notificationsHidden = true; + this._chromeState.syncNotificationsOpen = false; var syncNotifications = document.getElementById("sync-notifications"); if (syncNotifications) { @@ -3019,6 +3023,9 @@ var PrintPreviewListener = { if (this._chromeState.findOpen) gFindBar.open(); + if (this._chromeState.globalNotificationsOpen) + document.getElementById("global-notificationbox").notificationsHidden = false; + if (this._chromeState.syncNotificationsOpen) document.getElementById("sync-notifications").notificationsHidden = false; }