From f3ec7eea728560d958e56ff0b9e6a50c6c71dc51 Mon Sep 17 00:00:00 2001 From: "ben%bengoodger.com" Date: Mon, 1 Dec 2003 05:40:07 +0000 Subject: [PATCH] Ensure that window closing that would cause the app to quit goes through the same codepath as an actual application quit. --- browser/base/content/browser.js | 2 +- browser/base/content/browser.xul | 2 +- browser/base/content/pageInfo.xul | 5 +++-- browser/components/bookmarks/content/bookmarksManager.xul | 5 +++-- 4 files changed, 8 insertions(+), 6 deletions(-) diff --git a/browser/base/content/browser.js b/browser/base/content/browser.js index a0c8c5076cb8..a789609b634c 100644 --- a/browser/base/content/browser.js +++ b/browser/base/content/browser.js @@ -929,7 +929,7 @@ function BrowserCloseWindow() win.setAttribute( "height", h ); win.setAttribute( "width", w ); - window.close(); + closeWindow(true); } function loadURI(uri, referrer) diff --git a/browser/base/content/browser.xul b/browser/base/content/browser.xul index 8893c57ab95b..682997291521 100644 --- a/browser/base/content/browser.xul +++ b/browser/base/content/browser.xul @@ -40,7 +40,7 @@ +