mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-13 15:57:12 +00:00
Monotone-Parent: c2a5e3fb9246462545f9ecf1c552400ae0d6a9e9
Monotone-Revision: b8ad0061e865a522c79c6a19bc8d7841469af81a Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2010-06-02T19:11:15 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
1 parent
d12f6ac78c
commit
ba2b9aad81
17 files changed
+103
-104
No files matched your search
@@ -32,25 +32,25 @@ function onOKClick(event) {
|
||||
if (tag
|
||||
&& $("synchronizeCalendar").checked) {
|
||||
if (tag.value.blank()) {
|
||||
alert(getLabel("tagNotDefined"));
|
||||
alert(_("tagNotDefined"));
|
||||
save = false;
|
||||
}
|
||||
else if (allTags
|
||||
&& allTags.indexOf(tag.value) > -1) {
|
||||
alert(getLabel("tagAlreadyExists"));
|
||||
alert(_("tagAlreadyExists"));
|
||||
save = false;
|
||||
}
|
||||
else if (originalTag
|
||||
&& !originalTag.value.blank()) {
|
||||
if (tag.value != originalTag.value)
|
||||
save = confirm(getLabel("tagHasChanged"));
|
||||
save = confirm(_("tagHasChanged"));
|
||||
}
|
||||
else
|
||||
save = confirm(getLabel("tagWasAdded"));
|
||||
save = confirm(_("tagWasAdded"));
|
||||
}
|
||||
else if (originalTag
|
||||
&& !originalTag.value.blank())
|
||||
save = confirm(getLabel("tagWasRemoved"));
|
||||
save = confirm(_("tagWasRemoved"));
|
||||
|
||||
if (save) {
|
||||
window.opener.updateCalendarProperties(calendarID.value,
|
||||
|
||||
Reference in new issue
Block a user