(js) Fix saving of a custom weekly recurrence

pull/206/head
Francis Lachapelle 2016-04-04 16:12:24 -04:00
parent d4c58f4f23
commit 3da59cbc7e
2 changed files with 3 additions and 1 deletions

1
NEWS
View File

@ -31,6 +31,7 @@ Bug fixes
- [web] fixed handling of mail tags in mail viewer
- [web] avoid marking mails as read when archiving a folder (#2792)
- [web] fixed crash when sending a message with a special priority
- [web] fixed saving of a custom weekly recurrence definition
- [dav] we now handle the default classifications for tasks (#3541)
- [eas] properly unfold long mail headers (#3152)
- [eas] correctly set EAS message class for S/MIME messages (#3576)

View File

@ -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;
}