[fix] problem in customers

bzr revid: nicolas.vanhoren@openerp.com-20120525132652-tin667omlwdnnuar
This commit is contained in:
niv-openerp 2012-05-25 15:26:52 +02:00
parent 86638a545c
commit 776b961ebc
1 changed files with 2 additions and 1 deletions

View File

@ -37,7 +37,7 @@ instance.web_kanban.KanbanView = instance.web.View.extend({
},
start: function() {
var self = this;
this._super.apply(this, arguments);
var def = this._super.apply(this, arguments);
// Bind kanban cards dropdown menus
$('html').on('click.kanban', function() {
self.trigger('hide_menus');
@ -45,6 +45,7 @@ instance.web_kanban.KanbanView = instance.web.View.extend({
this.on('hide_menus', this, function() {
self.$element.find('.oe_kanban_menu').hide();
});
return def;
},
destroy: function() {
this._super.apply(this, arguments);