[Pkg-mozext-commits] [wot] 148/226: Fixed #55 Commenting adds comment but then doesn't show it
David Prévot
taffit at moszumanska.debian.org
Fri May 1 00:35:45 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository wot.
commit 6bf72d11e6e64cee125d1febe0a73e3f2bdfced5
Author: Sergey Andryukhin <sorgoz at yandex.com>
Date: Wed Sep 4 16:17:09 2013 +0300
Fixed #55 Commenting adds comment but then doesn't show it
---
content/api.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/content/api.js b/content/api.js
index 605446e..71fd60f 100644
--- a/content/api.js
+++ b/content/api.js
@@ -1167,7 +1167,7 @@ var wot_keeper = {
// console.log("keeper.get_by_name()", target, name);
try {
- var json = wot_prefs.getChar(wot_keeper._fullname(target, name)) || null;
+ var json = wot_prefs.getChar(wot_keeper._fullname(target, name), true) || null;
return json ? JSON.parse(json) : null;
} catch (e) {
wdump("wot_keeper.get_by_name() Failed with " + e);
@@ -1177,7 +1177,7 @@ var wot_keeper = {
store_by_name: function (target, name, data) {
// console.log("keeper.store_by_name()", target, name, data);
- wot_prefs.setChar(wot_keeper._fullname(target, name), data);
+ wot_prefs.setChar(wot_keeper._fullname(target, name), data, true);
},
remove_by_name: function (target, name) {
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/wot.git
More information about the Pkg-mozext-commits
mailing list