From 16f2defa530b36cae7da5e28b5eafef9138adba5 Mon Sep 17 00:00:00 2001 From: Ruben Rodriguez Date: Wed, 28 Jan 2015 22:16:14 +0100 Subject: 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 --- .../https-everywhere@eff.org/chrome/content/code/ApplicableList.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'data/extensions/https-everywhere@eff.org/chrome/content/code/ApplicableList.js') 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); }, -- cgit v1.2.3