mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-20 12:29:29 +00:00
merge of '70913882b0f1e07c463bccfd01a69394f02a9ced'
and '9f4bb6a90906abd5189ebce4675007eb8f89e4a9' Monotone-Parent: 70913882b0f1e07c463bccfd01a69394f02a9ced Monotone-Parent: 9f4bb6a90906abd5189ebce4675007eb8f89e4a9 Monotone-Revision: 59d160b60daebebf7589645c180056eb1cc90294 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2010-10-13T15:10:39 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -530,7 +530,7 @@ static NSArray *tasksFields = nil;
|
||||
[newEvents sortUsingSelector: @selector (compareEventsEndDateAscending:)];
|
||||
else if ([sort isEqualToString: @"location"])
|
||||
[newEvents sortUsingSelector: @selector (compareEventsLocationAscending:)];
|
||||
else if ([sort isEqualToString: @"calendar"])
|
||||
else if ([sort isEqualToString: @"calendarName"])
|
||||
[newEvents sortUsingSelector: @selector (compareEventsCalendarNameAscending:)];
|
||||
else
|
||||
[newEvents sortUsingSelector: @selector (compareEventsStartDateAscending:)];
|
||||
|
||||
@@ -916,7 +916,7 @@ function eventsListCallback(http) {
|
||||
td.appendChild(document.createTextNode(data[i][2])); // calendar
|
||||
}
|
||||
|
||||
if (sorting["attribute"] && sorting["attribute"].length > 0) { log ("sort " + sorting["attribute"]);
|
||||
if (sorting["attribute"] && sorting["attribute"].length > 0) {
|
||||
var sortHeader = $(sorting["attribute"] + "Header");
|
||||
|
||||
if (sortHeader) {
|
||||
@@ -1825,7 +1825,7 @@ function onHeaderClick(event) {
|
||||
else if (headerId == "locationHeader")
|
||||
newSortAttribute = "location";
|
||||
else if (headerId == "calendarNameHeader")
|
||||
newSortAttribute = "calendar";
|
||||
newSortAttribute = "calendarName";
|
||||
else
|
||||
newSortAttribute = "start";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user