lp bug: https://launchpad.net/bugs/1100280 fixed
bzr revid: nicolas.vanhoren@openerp.com-
20130322162310-135hd0hoak8k5oq6
this.no_leaf = !!context['group_by_no_leaf'];
this.grouped = !!group_by;
- return this.load_view(context).then(
+ return this.alive(this.load_view(context)).then(
this.proxy('reload_content'));
},
/**
switch_mode: function (view_type, no_store, options) {
var self = this;
- return $.when(this._super.apply(this, arguments)).done(function () {
+ return this.alive($.when(this._super.apply(this, arguments))).done(function () {
var controller = self.views[self.active_view].controller;
self.$el.find('.oe_debug_view').html(QWeb.render('ViewManagerDebug', {
view: controller,