[FIX] get id from dataset to pass it as integer in place of string
lp bug: https://launchpad.net/bugs/1160871 fixed bzr revid: hbrunn@therp.nl-20130327122447-bhsjd3b8moj2kgny
This commit is contained in:
@@ -498,7 +498,7 @@ instance.web_calendar.CalendarView = instance.web.View.extend({
|
||||
var self = this;
|
||||
var index = this.dataset.get_id_index(event_id);
|
||||
if (index !== null) {
|
||||
this.dataset.unlink(event_id);
|
||||
this.dataset.unlink(this.dataset.ids[index]);
|
||||
}
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user