[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:
parent
83ba082313
commit
6576b52d42
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue