[IMP]
[odoo/odoo.git] / addons / project / static / src / js / project.js
1 openerp.project = function(openerp) {
2     openerp.web_kanban.ProjectKanban = openerp.web_kanban.KanbanRecord.include({
3         bind_events: function() {
4             self = this;
5             if(this.view.dataset.model == 'project.project') {
6                 $('.oe_project_kanban_vignette').mouseover(function() {
7                     return $(this).find('.oe_project_kanban_action').show();
8                     }).mouseout(function() {
9                     return $(this).find('.oe_project_kanban_action').hide();
10                 });
11                 $('.dropdown-toggle').dropdown();
12             }
13             self._super();
14         }
15     });
16 }