diff options
Diffstat (limited to 'addons/website/static/src/js/website_bootstrap.js')
| -rw-r--r-- | addons/website/static/src/js/website_bootstrap.js | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/addons/website/static/src/js/website_bootstrap.js b/addons/website/static/src/js/website_bootstrap.js index 012c39b38b7..e70183fe767 100644 --- a/addons/website/static/src/js/website_bootstrap.js +++ b/addons/website/static/src/js/website_bootstrap.js @@ -12,18 +12,6 @@ Aloha.ready(function() { // Another hack since we have no callback when webclient has loaded modules. instance.web.qweb.add_template('/website/static/src/xml/website.xml'); - setTimeout(function () { - // HACKY HACK YUCK YUCK !! - // TODO: Need modification to webclient. Webclient shall trigger an event when it's ready. - // Maybe notification shall trigger event too, so the host can bind on it and use - // it's own means in order to trigger it's own notification !? - if (instance.web.notification) { - instance.web.notification.$el.appendTo('body'); - } else { - console.log("too late"); - } - }, 2000); - $(function() { var editor = new instance.website.EditorBar(instance.webclient); editor.prependTo($('body')); |
