(js) Fix saving of a custom weekly recurrence

This commit is contained in:
Francis Lachapelle committed 2016-04-04 16:12:24 -04:00
1 parent d4c58f4f23
commit 3da59cbc7e
2 files changed
+3 -1

No files matched your search

@@ -1076,7 +1076,8 @@
delete component.repeat.monthdays;
component.repeat.days = [{ day: this.repeat.month.day, occurrence: this.repeat.month.occurrence.toString() }];
}
else if (this.repeat.month.type) {
else if ((this.repeat.frequency == 'monthly' || this.repeat.frequency == 'yearly') &&
this.repeat.month.type) {
// montly recurrence by month days or yearly by month
delete component.repeat.days;
}