diff options
| author | Antony Lesuisse <al@openerp.com> | 2011-11-08 17:09:42 +0100 |
|---|---|---|
| committer | Antony Lesuisse <al@openerp.com> | 2011-11-08 17:09:42 +0100 |
| commit | 61823d98e9177aefa0e6aecd8750ce2bcb192e9a (patch) | |
| tree | a6b2652b6575afb0af83d6b0fc6adf8c23e139b9 /addons/web/static/src/js/chrome.js | |
| parent | fe742469cd37c2b828d153b8c1f0ef9546ca69cd (diff) | |
| parent | 5290ada81f998e29da7777116e317478c69d05e6 (diff) | |
[MERGE] qweb xml loading (chs)
bzr revid: al@openerp.com-20111108160942-lawx5l2brjq2hut8
Diffstat (limited to 'addons/web/static/src/js/chrome.js')
| -rw-r--r-- | addons/web/static/src/js/chrome.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/addons/web/static/src/js/chrome.js b/addons/web/static/src/js/chrome.js index cbb4def87cc..d85942feead 100644 --- a/addons/web/static/src/js/chrome.js +++ b/addons/web/static/src/js/chrome.js @@ -959,14 +959,13 @@ openerp.web.WebClient = openerp.web.Widget.extend(/** @lends openerp.web.WebClie this._super(null, element_id); openerp.webclient = this; - QWeb.add_template("/web/static/src/xml/base.xml"); var params = {}; if(jQuery.param != undefined && jQuery.deparam(jQuery.param.querystring()).kitten != undefined) { this.$element.addClass("kitten-mode-activated"); } this.$element.html(QWeb.render("Interface", params)); - this.notification = new openerp.web.Notification(); + this.notification = new openerp.web.Notification(this); this.loading = new openerp.web.Loading(this,"oe_loading"); this.crashmanager = new openerp.web.CrashManager(); |
