Display category color

This commit is contained in:
Ludovic Marcotte
2015-04-23 09:47:51 -04:00
committed by Francis Lachapelle
parent 62468d21ef
commit 174accdb23
2 changed files with 19 additions and 19 deletions
+2 -2
View File
@@ -78,8 +78,8 @@
$scope.preferences = statePreferences;
$scope.addCalendarCategory = function() {
var color = {"": "#000"};
$scope.preferences.defaults.SOGoCalendarCategories.push("");
var color = {"New category": "#aaa"};
$scope.preferences.defaults.SOGoCalendarCategories.push("New category");
$scope.preferences.defaults.SOGoCalendarCategoriesColors.push(color);
}