Skip to content

Commit

Permalink
Resource does not change if repeating event is moved
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarno Kurlin committed Jun 2, 2012
1 parent 3a1e185 commit 1db9e7a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/common/View.js
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,8 @@ function View(element, calendar, viewName) {
if (e.end) {
e.end = addMinutes(addDays(e.end, dayDelta, true), minuteDelta);
}
if (e.resource != resource) {
if (e.resource != resource && len == 1) {
// Change resource if this is not repeating event
e.resource = resource;
}

Expand Down

0 comments on commit 1db9e7a

Please sign in to comment.