[FIX] Fixed regression that made the debug mode unavailable

bzr revid: nicolas.vanhoren@openerp.com-20130807092232-jgkap3b3cfa2grfq
This commit is contained in:
niv-openerp
2013-08-07 11:22:32 +02:00
parent ade561e1cc
commit 8b963ce64f
+1
View File
@@ -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();