From 1d065e9208f96f492c01a4be3f4079764b0ddfd2 Mon Sep 17 00:00:00 2001 From: "morse%netscape.com" Date: Sun, 13 Aug 2000 23:38:08 +0000 Subject: [PATCH] bug 42438, add wallet functions to edit menu, r=dbragg --- .../resources/content/navigatorOverlay.xul | 7 ++ .../resources/content/utilityOverlay.js | 64 +++++++++++++++++++ .../resources/content/utilityOverlay.xul | 16 ++++- .../resources/locale/en-US/utilityOverlay.dtd | 6 ++ 4 files changed, 92 insertions(+), 1 deletion(-) 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 @@ + + + + + +