mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-21 11:25:24 +00:00
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:
@@ -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>
|
||||
|
||||
|
||||
@@ -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"];
|
||||
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user