Skip to content

Commit

Permalink
Fix refreshing exception events when base event is changed.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Aug 30, 2014
1 parent f1aab2e commit 8aee9fb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion kronolith/js/kronolith.js
Expand Up @@ -5695,12 +5695,13 @@ KronolithCore = {
this.removeEvent(cal, eventid);
}
this.loadEventsCallback(r, false);
var calendar = cal.split('|');
$H(r.events).each(function(d) {
$H(d.value).each(function(evt) {
if (evt.value.bid) {
var cache = this.getCacheForDate(this.findEventDays(cal, evt.key, cal));
cache.each(function(entry) {
if (entry.value.bid == evt.value.bid) {
if (entry.value.bid == evt.value.bid && evt.value.c != calendar[1]) {
this.removeEvent(cal, entry.key);
}
}.bind(this));
Expand Down

0 comments on commit 8aee9fb

Please sign in to comment.