[Pkg-mozext-commits] [wot] 15/226: Persist the toolbar button since it's no longer created every time.
David Prévot
taffit at moszumanska.debian.org
Fri May 1 00:35:29 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 2bc01b5f75d1d33278936763a7d12c32e57fdb84
Author: Sami Tolvanen <sami at mywot.com>
Date: Wed Feb 29 11:02:44 2012 +0200
Persist the toolbar button since it's no longer created every time.
---
content/ui.js | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/content/ui.js b/content/ui.js
index 50ad96b..4018410 100644
--- a/content/ui.js
+++ b/content/ui.js
@@ -197,7 +197,8 @@ var wot_ui =
elem = elem.nextSibling;
}
- nbr.insertItem(id, elem, null, false);
+ nbr.insertItem(id, elem);
+ nbr.setAttribute("currentset", nbr.currentSet);
document.persist("nav-bar", "currentset");
} catch (e) {
dump("wot_ui.show_toolbar_button: failed with " + e + "\n");
--
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