[Pkg-mozext-commits] [perspectives-extension] 11/72: Correctly detected and set status for "quorum not reached" in non-english languages. Fixes #121

David Prévot taffit at moszumanska.debian.org
Thu Dec 11 02:12:45 UTC 2014


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

taffit pushed a commit to branch master
in repository perspectives-extension.

commit febf98c59640f760f0e515b81e6dd56c44a02f4c
Author: Gerold Meisinger <gerold.meisinger at gmail.com>
Date:   Mon Jun 16 20:33:05 2014 +0100

    Correctly detected and set status for "quorum not reached" in non-english languages.
    Fixes #121
---
 plugin/chrome/content/notaries.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/plugin/chrome/content/notaries.js b/plugin/chrome/content/notaries.js
index 2ae751a..e9ca143 100644
--- a/plugin/chrome/content/notaries.js
+++ b/plugin/chrome/content/notaries.js
@@ -706,6 +706,7 @@ var Perspectives = {
 					getBoolPref("perspectives.trust_https_with_weak_consistency");
 			var weak_trust = ti.query_results.inconsistent_results && ti.query_results.weakly_seen;
 
+			debugger
 			if(strong_trust) {
 				// FIXME: need to clear any contrary banners
 				var mixed_security =  ti.state & Perspectives.state.STATE_IS_BROKEN;
@@ -765,7 +766,7 @@ var Perspectives = {
 						ti.query_results.tooltip);
 
 				}
-			} else if (ti.query_results.summary.indexOf("ssl key") == -1) {
+			} else if (ti.query_results.summary.indexOf(Perspectives.strbundle.getString("sslKey")) === -1) {
 				// FIXME: need to clear any contrary banners
 				ti.query_results.tooltip =
 					Perspectives.strbundle.getString("noRepliesWarning");

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/perspectives-extension.git



More information about the Pkg-mozext-commits mailing list