[Pkg-mozext-commits] [tabmixplus] 04/123: Follow up bug 997570 - Onsyncfrompreference sensitive to order of preference elements
David Prévot
taffit at moszumanska.debian.org
Wed Sep 17 21:16:21 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository tabmixplus.
commit 9bfeb732c3c0cb95ac0de46d11b2a9db94898b9c
Author: onemen <tabmix.onemen at gmail.com>
Date: Wed Aug 6 13:45:39 2014 +0300
Follow up bug 997570 - Onsyncfrompreference sensitive to order of preference elements
---
chrome/content/preferences/bindings.xml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/chrome/content/preferences/bindings.xml b/chrome/content/preferences/bindings.xml
index ecb0d85..cd7a42a 100644
--- a/chrome/content/preferences/bindings.xml
+++ b/chrome/content/preferences/bindings.xml
@@ -38,9 +38,10 @@
<implementation>
<constructor>
<![CDATA[
+ let update = Tabmix.isVersion(320) ? "" : " && aUpdate";
Tabmix.changeCode(this, "_setValue")._replace(
'return aValue;',
- 'else if (!this.instantApply && aUpdate && this.value === aValue) {' +
+ 'else if (!this.instantApply' + update + ' && this.value === aValue) {' +
' gPrefWindow.updateApplyButton({target: this});}' +
'$&'
).toCode();
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/tabmixplus.git
More information about the Pkg-mozext-commits
mailing list