aboutsummaryrefslogtreecommitdiffstats
path: root/statusline-toolbar.js
diff options
context:
space:
mode:
authorteramako2011-03-26 08:44:06 +0900
committerteramako2011-03-26 08:44:06 +0900
commitbe4f28b8b994f4766c21a39df9e1949211985434 (patch)
tree09b5e4245fd12ea96cecf07bee2f97adf76491b9 /statusline-toolbar.js
parent98677e765e876ff2df78aef4154c7be9b00d8139 (diff)
downloadvimperator-plugins-be4f28b8b994f4766c21a39df9e1949211985434.tar.bz2
call customizeDone after updated currentset
Diffstat (limited to 'statusline-toolbar.js')
-rw-r--r--statusline-toolbar.js6
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) {