diff --git a/mozilla/suite/common/tasksOverlay.js b/mozilla/suite/common/tasksOverlay.js index 6e2d64af5f3..078060fff6a 100644 --- a/mozilla/suite/common/tasksOverlay.js +++ b/mozilla/suite/common/tasksOverlay.js @@ -48,35 +48,6 @@ function enableHistory() { gDisableHistory = false; } -function toHistory() -{ - // Use a single sidebar history dialog - - var cwindowManager = Components.classes['@mozilla.org/rdf/datasource;1?name=window-mediator'].getService(); - var iwindowManager = Components.interfaces.nsIWindowMediator; - var windowManager = cwindowManager.QueryInterface(iwindowManager); - - var historyWindow = windowManager.getMostRecentWindow('history:manager'); - - if (historyWindow) { - //debug("Reuse existing history window"); - historyWindow.focus(); - } else { - //debug("Open a new history dialog"); - - if (true == gDisableHistory) { - //debug("Recently opened one. Wait a little bit."); - return; - } - gDisableHistory = true; - - window.open( "chrome://communicator/content/history/history.xul", "_blank", - "chrome,extrachrome,menubar,resizable,scrollbars,status,toolbar" ); - setTimeout(enableHistory, 2000); - } - -} - function toJavaScriptConsole() { toOpenWindowByType("global:console", "chrome://global/content/console.xul"); diff --git a/mozilla/suite/common/tasksOverlay.xul b/mozilla/suite/common/tasksOverlay.xul index d00a48e8977..b5da9eadd8c 100644 --- a/mozilla/suite/common/tasksOverlay.xul +++ b/mozilla/suite/common/tasksOverlay.xul @@ -19,8 +19,6 @@ - - @@ -56,7 +54,6 @@ - diff --git a/mozilla/suite/locales/en-US/chrome/common/tasksOverlay.dtd b/mozilla/suite/locales/en-US/chrome/common/tasksOverlay.dtd index bc6423fb31f..998162f4f83 100644 --- a/mozilla/suite/locales/en-US/chrome/common/tasksOverlay.dtd +++ b/mozilla/suite/locales/en-US/chrome/common/tasksOverlay.dtd @@ -12,9 +12,6 @@ - - -