diff options
| author | Fabien Meghazi <fme@openerp.com> | 2013-07-02 14:32:28 +0200 |
|---|---|---|
| committer | Fabien Meghazi <fme@openerp.com> | 2013-07-02 14:32:28 +0200 |
| commit | fec0b5e39146701558a3124efd6ffb66f5ff67bf (patch) | |
| tree | a168ce89856582cab13a6796f7dc7603c0addcf8 /addons/website/static/src/js/website_bootstrap.js | |
| parent | fe954304511203981e819b3265679b487a5c316e (diff) | |
[FIX] stuff
bzr revid: fme@openerp.com-20130702123228-2dzs7g9dm6gpldw3
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')); |
