bzr revid: apa@tinyerp.com-20120404122435-321j5dapi882s830
This commit is contained in:
Amit Patel (OpenERP)
2012-04-04 17:54:35 +05:30
parent ba0d6ac4c5
commit 9cee7d8b8e
+8 -10
View File
@@ -1,16 +1,14 @@
openerp.project = function(openerp) {
openerp.web_kanban.ProjectKanban = openerp.web_kanban.KanbanRecord.include({
bind_events: function() {
self = this
self._super()
if(this.view.dataset.model == 'project.project') {
$('.oe_project_kanban_vignette').mouseover(function() {
return $(this).find('.oe_project_kanban_action').show();
}).mouseout(function() {
return $(this).find('.oe_project_kanban_action').hide();
});
$('.dropdown-toggle').dropdown();
}
self = this;
$('.oe_project_kanban_vignette').mouseover(function() {
return $(this).find('.oe_project_kanban_action').show();
}).mouseout(function() {
return $(this).find('.oe_project_kanban_action').hide();
});
$('.dropdown-toggle').dropdown();
self._super();
}
});
}