[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:
Holger Brunn
2013-03-27 13:24:47 +01:00
parent ab154e8cbc
commit eb6e8a8308
@@ -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]);
}
},
});