summaryrefslogtreecommitdiff
path: root/data/extensions/https-everywhere@eff.org/chrome/content/code/ApplicableList.js
diff options
context:
space:
mode:
authorRuben Rodriguez <ruben@gnu.org>2015-01-28 22:16:14 +0100
committerRuben Rodriguez <ruben@gnu.org>2015-01-28 22:16:14 +0100
commit16f2defa530b36cae7da5e28b5eafef9138adba5 (patch)
treec1415ef31bf1e96da1674aec2fc2c580c87d9e08 /data/extensions/https-everywhere@eff.org/chrome/content/code/ApplicableList.js
parent763c090c20c60c13f9b6f50b953323a237fd778a (diff)
Updated to v31.4.0ESR
* Search form in about:icecat now searches in default search engine * Disabled accessibility.blockautorefresh * Replaced references to Open Source with Free Software where applicable * Added html5-video-everywhere v0.1.1 extension: https://github.com/lejenome/html5-video-everywhere * Updated LibreJS to 6.0.8 Build scripts updated to use pbuilder
Diffstat (limited to 'data/extensions/https-everywhere@eff.org/chrome/content/code/ApplicableList.js')
-rw-r--r--data/extensions/https-everywhere@eff.org/chrome/content/code/ApplicableList.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/data/extensions/https-everywhere@eff.org/chrome/content/code/ApplicableList.js b/data/extensions/https-everywhere@eff.org/chrome/content/code/ApplicableList.js
index 6949167..247f5b7 100644
--- a/data/extensions/https-everywhere@eff.org/chrome/content/code/ApplicableList.js
+++ b/data/extensions/https-everywhere@eff.org/chrome/content/code/ApplicableList.js
@@ -212,9 +212,9 @@ ApplicableList.prototype = {
add_command: function(rule) {
var command = this.document.createElement("command");
- command.setAttribute('id', rule.id+'-command');
+ command.setAttribute('id', JSON.stringify(rule.id)+'-command');
command.setAttribute('label', rule.name);
- command.setAttribute('oncommand', 'toggle_rule("'+rule.id+'")');
+ command.setAttribute('oncommand', 'toggle_rule("'+JSON.stringify(rule.id)+'")');
this.commandset.appendChild(command);
},