in listcalendar, when editing, set list item value instead of reloading list
This commit is contained in:
parent
527f75b009
commit
3fc1611803
1 changed files with 1 additions and 3 deletions
|
@ -493,9 +493,7 @@ Ox.ListCalendar = function(options, self) {
|
|||
data = {id: id};
|
||||
self.options.events[index][key] = value;
|
||||
data[key] = value;
|
||||
var time0 = +new Date();
|
||||
self.$list.options({items: Ox.clone(self.options.events, true)});
|
||||
Ox.print('TIME TO SET LIST OPTIONS:', +new Date() - time0);
|
||||
self.$list.value(id, key, value);
|
||||
if (['name', 'type', 'start', 'end'].indexOf(key) > -1) {
|
||||
self.$calendar.editEvent(id, key, value);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue