diff --git a/UI/Templates/PreferencesUI/UIxPreferences.wox b/UI/Templates/PreferencesUI/UIxPreferences.wox index 9eab4d681..f3ced50b6 100644 --- a/UI/Templates/PreferencesUI/UIxPreferences.wox +++ b/UI/Templates/PreferencesUI/UIxPreferences.wox @@ -405,23 +405,23 @@ aria-controls="calendarCategories-content" label:label="Categories"> - - -
- - - - -
-
-
-
- + + + + + + + +
+
+
+
+
diff --git a/UI/WebServerResources/js/PreferencesUI.js b/UI/WebServerResources/js/PreferencesUI.js index 7ca26b0a2..b1e1e81ea 100644 --- a/UI/WebServerResources/js/PreferencesUI.js +++ b/UI/WebServerResources/js/PreferencesUI.js @@ -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); }