[FIX] incorrect replacement calling method on this in context where should be self

bzr revid: xmo@openerp.com-20120802142442-3ywttaf9f0q4igk3
This commit is contained in:
Fabien Meghazi 2012-08-02 16:24:42 +02:00 committed by Xavier Morel
parent f96de269e7
commit 2f9d78e611
1 changed files with 1 additions and 1 deletions

View File

@ -713,7 +713,7 @@ instance.web_kanban.KanbanRecord = instance.web.OldWidget.extend({
this.view.dataset.read_ids([this.id], this.view.fields_keys.concat(['__last_update'])).then(function(records) {
if (records.length) {
self.set_record(records[0]);
this.replaceElement($(self.render()));
self.replaceElement($(self.render()));
self.$element.data('widget', self);
self.bind_events();
self.group.compute_cards_auto_height();