[Pkg-privacy-commits] [xul-ext-monkeysphere] 208/296: make sure clearSite option is displayed for valid sites

Ximin Luo infinity0 at moszumanska.debian.org
Mon Aug 24 07:39:40 UTC 2015


This is an automated email from the git hooks/post-receive script.

infinity0 pushed a commit to branch debian
in repository xul-ext-monkeysphere.

commit 618b3a8cdc2d79ebfe4bc341b4441a67c3000ff5
Author: Jameson Rollins <jrollins at finestructure.net>
Date:   Sun Apr 25 17:06:03 2010 -0400

    make sure clearSite option is displayed for valid sites
---
 chrome/content/monkeysphere.js | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/chrome/content/monkeysphere.js b/chrome/content/monkeysphere.js
index 6e748a8..7b8cf2f 100644
--- a/chrome/content/monkeysphere.js
+++ b/chrome/content/monkeysphere.js
@@ -159,17 +159,16 @@ var monkeysphere = (function() {
       case 'INPROGRESS':
         icon.setAttribute("src", "chrome://monkeysphere/content/progress.gif");
         panel.hidden = false;
-        // hide the clearSite menu option
         document.getElementById("monkeysphere-status-clearSite").hidden = true;
         break;
       case 'VALID':
         icon.setAttribute("src", "chrome://monkeysphere/content/good.png");
         panel.hidden = false;
+        document.getElementById("monkeysphere-status-clearSite").hidden = false;
         break;
       case 'NOTVALID':
         icon.setAttribute("src", "chrome://monkeysphere/content/bad.png");
         panel.hidden = false;
-        // hide the clearSite menu option
         document.getElementById("monkeysphere-status-clearSite").hidden = true;
         break;
       case 'NEUTRAL':
@@ -179,7 +178,6 @@ var monkeysphere = (function() {
       case 'ERROR':
         icon.setAttribute("src", "chrome://monkeysphere/content/error.png");
         panel.hidden = false;
-        // hide the clearSite menu option
         document.getElementById("monkeysphere-status-clearSite").hidden = true;
         break;
     }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/xul-ext-monkeysphere.git



More information about the Pkg-privacy-commits mailing list