diff options
| author | niv-openerp <nicolas.vanhoren@openerp.com> | 2013-08-07 11:22:32 +0200 |
|---|---|---|
| committer | niv-openerp <nicolas.vanhoren@openerp.com> | 2013-08-07 11:22:32 +0200 |
| commit | 8b963ce64f97d320826ea1d3881e03a2b913e8a7 (patch) | |
| tree | 9b0b84de535f18109c66627ccbe618d5f7c64c25 /addons/web/static | |
| parent | ade561e1cc4ba0e444a9dc521a6fc243eccd3f69 (diff) | |
[FIX] Fixed regression that made the debug mode unavailable
bzr revid: nicolas.vanhoren@openerp.com-20130807092232-jgkap3b3cfa2grfq
Diffstat (limited to 'addons/web/static')
| -rw-r--r-- | addons/web/static/src/js/core.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/web/static/src/js/core.js b/addons/web/static/src/js/core.js index c4bd3981806..8c69f86c47e 100644 --- a/addons/web/static/src/js/core.js +++ b/addons/web/static/src/js/core.js @@ -226,6 +226,7 @@ instance.web.JsonRPC = instance.web.Session; instance.web.Session.include( /** @lends instance.web.Session# */{ init: function() { this._super.apply(this, arguments); + this.debug = ($.deparam($.param.querystring()).debug !== undefined); // TODO: session store in cookie should be optional this.name = instance._session_id; this.qweb_mutex = new $.Mutex(); |
