From be4f28b8b994f4766c21a39df9e1949211985434 Mon Sep 17 00:00:00 2001 From: teramako Date: Sat, 26 Mar 2011 08:44:06 +0900 Subject: call customizeDone after updated currentset --- statusline-toolbar.js | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'statusline-toolbar.js') diff --git a/statusline-toolbar.js b/statusline-toolbar.js index 1796f2c..fc0c893 100644 --- a/statusline-toolbar.js +++ b/statusline-toolbar.js @@ -50,6 +50,9 @@ function createElement (name, attrs) { } return elm; } +function customizeDone () { + window.BrowserToolboxCustomizeDone(true); +} var gToolbox = gNavToolbox; var id = "liberator-customize-toolbar"; @@ -113,6 +116,7 @@ function init () { t.setAttribute("currentset", newSets.join(",")); updateSets(this.toolbar, newSets, removeSets); document.persist(this.toolbar.id, "currentset"); + customizeDone(); return val; }, completer: function (context) { @@ -124,6 +128,8 @@ function init () { return true; }, }); + + customizeDone(); } function updateSets (toolbar, newSets, removeSets) { -- cgit v1.2.3