Bug 304570: Event location does not appear in location column of event list.

patch by gekacheka@yahoo.com, r=mvl
This commit is contained in:
mvl%exedo.nl 2005-08-16 20:37:35 +00:00
Родитель a7403e092d
Коммит d84f04c534
1 изменённых файлов: 4 добавлений и 3 удалений

Просмотреть файл

@ -460,7 +460,7 @@ var treeView =
return( calendarEvent.categories );
case "unifinder-search-results-tree-col-location":
return( calendarEvent.location );
return( calendarEvent.getProperty("LOCATION") );
case "unifinder-search-results-tree-col-status":
return getEventStatusString(calendarEvent);
@ -501,13 +501,14 @@ function compareEvents( eventA, eventB )
return compareString(eventA.categories, eventB.categories) * modifier;
case "unifinder-search-results-tree-col-location":
return compareString(eventA.location, eventB.location) * modifier;
return compareString(eventA.getProperty("LOCATION"),
eventB.getProperty("LOCATION")) * modifier;
case "unifinder-search-results-tree-col-status":
return compareString(eventA.status, eventB.status) * modifier;
case "unifinder-search-results-tree-col-calendarname":
return compareString(eventA.parent.name, eventB.parent.name) * modifier;
return compareString(eventA.calendar.name, eventB.calendar.name) * modifier;
default:
return 0;