summaryrefslogtreecommitdiff
path: root/addons/website/static/src/js/website.editor.js
diff options
context:
space:
mode:
authorChristophe Matthieu <chm@odoo.com>2014-07-02 13:54:57 +0200
committerChristophe Matthieu <chm@odoo.com>2014-07-02 13:54:57 +0200
commitca02d8820a86e7f08bbc25c85f3eaa5642ff7303 (patch)
treeac4cc6de11c74eed06941f89adfccd3bab52b50d /addons/website/static/src/js/website.editor.js
parent78f87dce3420f4f2bde2175c90395d87e6bdc59d (diff)
[FIX] website: customize menu stay empty if it's open to quick. Don't throw an exception when the tour have an error: log error and close tour.
Diffstat (limited to 'addons/website/static/src/js/website.editor.js')
-rw-r--r--addons/website/static/src/js/website.editor.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/website/static/src/js/website.editor.js b/addons/website/static/src/js/website.editor.js
index 94c1a7214b4..2ff6fca89e2 100644
--- a/addons/website/static/src/js/website.editor.js
+++ b/addons/website/static/src/js/website.editor.js
@@ -754,7 +754,7 @@
},
});
- website.ready().done(function() {
+ $(document).ready(function() {
var editorBarCustomize = new website.EditorBarCustomize();
editorBarCustomize.setElement($('li[id=customize-menu]'));
editorBarCustomize.start();