[Pkg-mozext-commits] [adblock-plus] 412/464: Make sure to really save prefs.js when something changes

David Prévot taffit at moszumanska.debian.org
Tue Jul 22 20:44:39 UTC 2014


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

taffit pushed a commit to branch master
in repository adblock-plus.

commit 571b1278067e03a95468895da7740415af953503
Author: Wladimir Palant <trev at adblockplus.org>
Date:   Mon Jan 13 12:53:55 2014 +0100

    Make sure to really save prefs.js when something changes
    
    Review: http://codereview.adblockplus.org/5364137328640000/
---
 lib/prefs.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/prefs.js b/lib/prefs.js
index 992ac2c..bd124b7 100644
--- a/lib/prefs.js
+++ b/lib/prefs.js
@@ -86,6 +86,7 @@ function defineProperty(/**String*/ name, defaultValue, /**Function*/ readFunc,
       ignorePrefChanges = true;
       writeFunc(branch, name, newValue);
       value = newValue;
+      Services.prefs.savePrefFile(null);
       triggerListeners(name);
     }
     catch(e)

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



More information about the Pkg-mozext-commits mailing list