diff --git a/xpfe/browser/resources/content/navigatorOverlay.xul b/xpfe/browser/resources/content/navigatorOverlay.xul index f109ff7e5683..c8bf722e9536 100644 --- a/xpfe/browser/resources/content/navigatorOverlay.xul +++ b/xpfe/browser/resources/content/navigatorOverlay.xul @@ -55,6 +55,8 @@ Contributor(s): Blake Ross . --> + + @@ -101,6 +103,8 @@ Contributor(s): Blake Ross . --> + + @@ -195,6 +199,9 @@ Contributor(s): Blake Ross . --> + + + diff --git a/xpfe/communicator/resources/content/utilityOverlay.js b/xpfe/communicator/resources/content/utilityOverlay.js index fcab7e460647..7f7ac2319078 100644 --- a/xpfe/communicator/resources/content/utilityOverlay.js +++ b/xpfe/communicator/resources/content/utilityOverlay.js @@ -84,6 +84,65 @@ function goPreferences(id, paneURL, paneID) var prefWindow = window.openDialog("chrome://communicator/content/pref/pref.xul","PrefWindow", "chrome,modal=" + modality+ ",resizable=yes", paneURL, paneID); } +function okToCapture() { + var capture = document.getElementById("menu_capture"); + if (!window._content.document) { + capture.setAttribute("disabled", "true"); + return; + } + var formsArray = window._content.document.forms; + var form; + for (form=0; form - + @@ -49,6 +49,8 @@ + + @@ -56,6 +58,10 @@ + + diff --git a/xpfe/communicator/resources/locale/en-US/utilityOverlay.dtd b/xpfe/communicator/resources/locale/en-US/utilityOverlay.dtd index 5ecda6743bbe..5f6d776be10d 100644 --- a/xpfe/communicator/resources/locale/en-US/utilityOverlay.dtd +++ b/xpfe/communicator/resources/locale/en-US/utilityOverlay.dtd @@ -49,6 +49,12 @@ + + + + + +