[ADD] crash manager to embedded client, otherwise RPC errors get silently supressed
bzr revid: xmo@openerp.com-20120705100001-48ufwqtt1t1gnol2
This commit is contained in:
@@ -1225,6 +1225,8 @@ openerp.web.EmbeddedClient = openerp.web.OldWidget.extend({
|
||||
|
||||
start: function() {
|
||||
var self = this;
|
||||
this.crashmanager = new openerp.web.CrashManager();
|
||||
openerp.connection.on_rpc_error.add(this.crashmanager.on_rpc_error);
|
||||
this.am.appendTo(this.$element.addClass('openerp'));
|
||||
return this.rpc("/web/action/load", { action_id: this.action_id }, function(result) {
|
||||
var action = result.result;
|
||||
|
||||
Reference in New Issue
Block a user