[FIX] dont show errors on reload

bzr revid: al@openerp.com-20121011201523-d4t500g4nnfq9ce6
This commit is contained in:
Antony Lesuisse
2012-10-11 22:15:23 +02:00
parent 25181d3f51
commit e50cb5b2c7
+1
View File
@@ -627,6 +627,7 @@ instance.web.Reload = function(parent, params) {
hash = "#menu_id=" + menu_id;
}
var url = l.protocol + "//" + l.host + l.pathname + search + hash;
window.onerror = function() {};
window.location = url;
};
instance.web.client_actions.add("reload", "instance.web.Reload");