summaryrefslogtreecommitdiff
path: root/addons/gamification/static/src/js
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2014-10-01 19:18:14 +0200
committerChristophe Simonis <chs@odoo.com>2014-10-01 19:18:14 +0200
commit709c9868de7c4ac4985ed4e0055ae3e3e49742ad (patch)
treee90227a947bddf47b3043fcbe8b99529a22aa7dd /addons/gamification/static/src/js
parent85f26244a71a0b9a7faa283d6d24fdde6bae899a (diff)
parente8831932464814ed5f9e3a0af33f98891a466417 (diff)
[MERGE] forward port of branch 8.0 up to e883193
Diffstat (limited to 'addons/gamification/static/src/js')
-rw-r--r--addons/gamification/static/src/js/gamification.js11
1 files changed, 0 insertions, 11 deletions
diff --git a/addons/gamification/static/src/js/gamification.js b/addons/gamification/static/src/js/gamification.js
index 6e2e5201968..0c02162e59f 100644
--- a/addons/gamification/static/src/js/gamification.js
+++ b/addons/gamification/static/src/js/gamification.js
@@ -125,16 +125,5 @@ openerp.gamification = function(instance) {
sidebar.appendTo($('.oe_mail_wall_aside'));
},
});
-
- instance.web_kanban.KanbanRecord.include({
- // open related goals when clicking on challenge kanban view
- on_card_clicked: function() {
- if (this.view.dataset.model === 'gamification.challenge') {
- this.$('.oe_kanban_project_list a').first().click();
- } else {
- this._super.apply(this, arguments);
- }
- },
- });
};