See ChangeLogs.

Monotone-Parent: 4ada003303186187c511ea7faea08604da6b3db4
Monotone-Revision: 1e456d9a08ec90bd4e7fad4909eecfaa354aed5a

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2011-07-08T15:48:55
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Francis Lachapelle
2011-07-08 15:48:55 +00:00
parent 6e0dc80c1f
commit 3f6bca5d1e
9 changed files with 58 additions and 12 deletions

View File

@@ -30,10 +30,17 @@ function onOKClick(event) {
var originalTag = $("originalCalendarSyncTag");
var allTags = $("allCalendarSyncTags");
if (allTags)
if (calendarName.value.blank()) {
alert(_("Please specify a calendar name."));
save = false;
}
if (save
&& allTags)
allTags = allTags.value.split(",");
if (tag
if (save
&& tag
&& $("synchronizeCalendar").checked) {
if (tag.value.blank()) {
alert(_("tagNotDefined"));
@@ -52,7 +59,8 @@ function onOKClick(event) {
else
save = confirm(_("tagWasAdded"));
}
else if (originalTag
else if (save
&& originalTag
&& !originalTag.value.blank())
save = confirm(_("tagWasRemoved"));