diff options
author | teramako | 2011-03-26 08:44:06 +0900 |
---|---|---|
committer | teramako | 2011-03-26 08:44:06 +0900 |
commit | be4f28b8b994f4766c21a39df9e1949211985434 (patch) | |
tree | 09b5e4245fd12ea96cecf07bee2f97adf76491b9 /statusline-toolbar.js | |
parent | 98677e765e876ff2df78aef4154c7be9b00d8139 (diff) | |
download | vimperator-plugins-be4f28b8b994f4766c21a39df9e1949211985434.tar.bz2 |
call customizeDone after updated currentset
Diffstat (limited to 'statusline-toolbar.js')
-rw-r--r-- | statusline-toolbar.js | 6 |
1 files changed, 6 insertions, 0 deletions
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) { |