Skip to content

Commit

Permalink
Fix refreshing resources when adding a new event.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Aug 31, 2014
1 parent 7992ae0 commit 244133d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kronolith/js/kronolith.js
Expand Up @@ -5795,8 +5795,8 @@ KronolithCore = {
}
}.bind(this));
}
if (!refreshed && evt.key == eventid && evt.value.rs) {
this.refreshResources(evt.value.start.toString('yyyyMMdd'), cal, eventid, false);
if (!refreshed && ((evt.key == eventid) || !eventid) && evt.value.rs) {
this.refreshResources(null, cal, eventid, false, evt);
refreshed = true;
}
}.bind(this))
Expand Down

0 comments on commit 244133d

Please sign in to comment.