Removed dead code, support for adding calendar categories, disabled unused tab

This commit is contained in:
Ludovic Marcotte authored and Francis Lachapelle committed 2015-06-12 11:26:05 -04:00
1 parent a787521977
commit 56763e1aca
3 files changed
+22 -42

No files matched your search

@@ -76,6 +76,12 @@
$scope.preferences = statePreferences;
$scope.addCalendarCategory = function() {
var color = {"": "#000"};
$scope.preferences.defaults.SOGoCalendarCategories.push("");
$scope.preferences.defaults.SOGoCalendarCategoriesColors.push(color);
}
$scope.removeCalendarCategory = function(index) {
var key = $scope.preferences.defaults.SOGoCalendarCategories[index];
$scope.preferences.defaults.SOGoCalendarCategories.splice(index, 1);