(fix) new calendar category now showing color too

pull/91/head
Ludovic Marcotte 2015-04-28 15:22:20 -04:00 committed by Francis Lachapelle
parent 8074e67b84
commit affa6ba656
1 changed files with 1 additions and 2 deletions

View File

@ -78,9 +78,8 @@
$scope.preferences = statePreferences;
$scope.addCalendarCategory = function() {
var color = {"New category": "#aaa"};
$scope.preferences.defaults.SOGoCalendarCategoriesColors["New category"] = "#aaa";
$scope.preferences.defaults.SOGoCalendarCategories.push("New category");
$scope.preferences.defaults.SOGoCalendarCategoriesColors.push(color);
}
$scope.removeCalendarCategory = function(index) {