[Pkg-privacy-commits] [xul-ext-monkeysphere] 137/296: add clear status function
Ximin Luo
infinity0 at moszumanska.debian.org
Mon Aug 24 07:39:33 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 dce8a20811165434658b71e92e5b102bac570ee2
Author: Jameson Rollins <jrollins at finestructure.net>
Date: Sun Mar 7 16:04:12 2010 -0500
add clear status function
---
chrome/content/monkeysphere.js | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/chrome/content/monkeysphere.js b/chrome/content/monkeysphere.js
index 5ce00d6..899c847 100644
--- a/chrome/content/monkeysphere.js
+++ b/chrome/content/monkeysphere.js
@@ -240,10 +240,17 @@ var monkeysphere = {
var key = "status" + state;
message = monkeysphere.messages.getString(key);
}
- monkeysphere.log("set status: " + state + ', ' + message);
+ monkeysphere.log("set browser status: " + state + ', ' + message);
browser.monkeysphere = { state: state, message: message };
},
+ //////////////////////////////////////////////////////////
+ // clear site monkeysphere status for browser
+ clearStatus: function(browser) {
+ monkeysphere.log("clear browser status");
+ delete browser.monkeysphere;
+ },
+
////////////////////////////////////////////////////////////
// UPDATE DISPLAY
////////////////////////////////////////////////////////////
--
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