See ChangeLog

Monotone-Parent: b60d547047a2529bf2428a9d602340aa1c4f7f9b
Monotone-Revision: 1aaea249ad1360b144fa338a55f11cad2cf930d0

Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2009-09-28T01:05:10
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Ludovic Marcotte
2009-09-28 01:05:10 +00:00
parent 4abc5045aa
commit ed6ca84762
3 changed files with 11 additions and 2 deletions
+4
View File
@@ -2,6 +2,10 @@
* Reworked the UIxMailPartSignedViewer to inherit
from UIxMailPartMixedViewer.
* UI/WebServerResources/SchedulerUI.js
We allow empty calendar imports.
* Avoid assumptions for .ics presence on URL
subscriptions.
2009-09-25 Ludovic Marcotte <lmarcotte@inverse.ca>
+6 -1
View File
@@ -91,7 +91,12 @@
tmp = [calendarURL lastPathComponent];
if (tmp)
rc = [tmp stringByDeletingSuffix: @".ics"];
{
if ([[tmp pathExtension] caseInsensitiveCompare: @"ics"] == NSOrderedSame)
rc = [tmp substringToIndex: [tmp length] - 4];
else
rc = tmp;
}
else
rc = [self labelForKey: @"Web Calendar"];
+1 -1
View File
@@ -1922,7 +1922,7 @@ function onCalendarWebAdd(event) {
}
function addWebCalendarCallback (http) {
var data = http.responseText.evalJSON(true);
if (data.imported > 0) {
if (data.imported >= 0) {
appendCalendar(data.displayname, "/" + data.name);
refreshEvents();
refreshTasks();