[REV] Url parmaters (hence debug mode) should stay persistent. Use bbq api in order to remove state.

Reverted partial feature of Revision:
3509 revid:chm@openerp.com-20121128082130-x16m1x0bdsgo7grp

bzr revid: fme@openerp.com-20121211145632-yce8jyyu6k7e2lov
This commit is contained in:
Fabien Meghazi 2012-12-11 15:56:32 +01:00
parent 83ba082313
commit 6576b52d42
1 changed files with 1 additions and 3 deletions

View File

@ -119,9 +119,7 @@ instance.web.Session = instance.web.JsonRPC.extend( /** @lends instance.web.Sess
},
session_logout: function() {
this.set_cookie('session_id', '');
var url = "#";
$.bbq.pushState(url);
window.location.search = "";
$.bbq.removeState();
return this.rpc("/web/session/destroy", {});
},
get_cookie: function (name) {