[FIX] session expired
bzr revid: al@openerp.com-20131202154206-6efsbeeg0mq7s67z
This commit is contained in:
parent
0ac4a8f696
commit
da6fee2ac1
|
@ -256,7 +256,7 @@ instance.web.CrashManager = instance.web.Class.extend({
|
|||
new (handler)(this, error).display();
|
||||
return;
|
||||
}
|
||||
if (error.data.name === "openerp.addons.web.session SessionExpiredException") {
|
||||
if (error.data.name === "openerp.addons.web.http.SessionExpiredException") {
|
||||
this.show_warning({type: "Session Expired", data: { message: _t("Your OpenERP session expired. Please refresh the current web page.") }});
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue