[fix] problem in customers
bzr revid: nicolas.vanhoren@openerp.com-20120525132652-tin667omlwdnnuar
This commit is contained in:
parent
86638a545c
commit
776b961ebc
|
@ -37,7 +37,7 @@ instance.web_kanban.KanbanView = instance.web.View.extend({
|
||||||
},
|
},
|
||||||
start: function() {
|
start: function() {
|
||||||
var self = this;
|
var self = this;
|
||||||
this._super.apply(this, arguments);
|
var def = this._super.apply(this, arguments);
|
||||||
// Bind kanban cards dropdown menus
|
// Bind kanban cards dropdown menus
|
||||||
$('html').on('click.kanban', function() {
|
$('html').on('click.kanban', function() {
|
||||||
self.trigger('hide_menus');
|
self.trigger('hide_menus');
|
||||||
|
@ -45,6 +45,7 @@ instance.web_kanban.KanbanView = instance.web.View.extend({
|
||||||
this.on('hide_menus', this, function() {
|
this.on('hide_menus', this, function() {
|
||||||
self.$element.find('.oe_kanban_menu').hide();
|
self.$element.find('.oe_kanban_menu').hide();
|
||||||
});
|
});
|
||||||
|
return def;
|
||||||
},
|
},
|
||||||
destroy: function() {
|
destroy: function() {
|
||||||
this._super.apply(this, arguments);
|
this._super.apply(this, arguments);
|
||||||
|
|
Loading…
Reference in New Issue