[FIX] getParent() js error when clicking to fast on menu items of dashboards

bzr revid: cto@openerp.com-20140204150544-nkuhxree6qijihq2
This commit is contained in:
Cecile Tonglet 2014-02-04 16:05:44 +01:00
parent a12fb24290
commit df0076c67d
1 changed files with 1 additions and 1 deletions

View File

@ -407,7 +407,7 @@ instance.web.SearchView = instance.web.Widget.extend(/** @lends instance.web.Sea
context: this.dataset.get_context(),
});
$.when(load_view).then(function (r) {
this.alive($.when(load_view)).then(function (r) {
return self.search_view_loaded(r)
}).fail(function () {
self.ready.reject.apply(null, arguments);