[IMP] Remove debug mode after logout
bzr revid: hip@tinyerp.com-20121121064527-pojijc3a7ksxnroy
This commit is contained in:
parent
45dd2ae4e5
commit
0b995d57d1
|
@ -119,6 +119,9 @@ 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 = "";
|
||||
return this.rpc("/web/session/destroy", {});
|
||||
},
|
||||
get_cookie: function (name) {
|
||||
|
|
Loading…
Reference in New Issue