diff --git a/api/categories.php b/api/categories.php index 9ef15f0b83..3a8c57529c 100644 --- a/api/categories.php +++ b/api/categories.php @@ -41,7 +41,7 @@ foreach($categories as $cat) { // Use slightly more specific selector that just class, to allow defaults // if the category has no color - $content .= ".egwGridView_scrollarea tr.cat_{$cat['id']} > td:first-child, .select-cat li.cat_{$cat['id']}, .nextmatch_header_row .et2_selectbox.select-cat.cat_{$cat['id']} a.chzn-single {border-left-color: {$cat['data']['color']};} .cat_{$cat['id']}.fullline_cat_bg, div.cat_{$cat['id']}, span.cat_{$cat['id']} { background-color: {$cat['data']['color']};} /*{$cat['name']}*/\n"; + $content .= ".egwGridView_scrollarea tr.row_category.cat_{$cat['id']} > td:first-child, .select-cat li.cat_{$cat['id']}, .nextmatch_header_row .et2_selectbox.select-cat.cat_{$cat['id']} a.chzn-single {border-left-color: {$cat['data']['color']};} .cat_{$cat['id']}.fullline_cat_bg, div.cat_{$cat['id']}, span.cat_{$cat['id']} { background-color: {$cat['data']['color']};} /*{$cat['name']}*/\n"; } if (!empty($cat['data']['icon'])) { diff --git a/calendar/js/et2_widget_event.js b/calendar/js/et2_widget_event.js index 1d1cb9a0ae..75edeb15af 100644 --- a/calendar/js/et2_widget_event.js +++ b/calendar/js/et2_widget_event.js @@ -262,9 +262,6 @@ var et2_calendar_event = (function(){ "use strict"; return et2_valueWidget.exten getInstanceManager: function() {return im} }, {application:event.app||'calendar'}); - // Get CSS too - egw.includeCSS('/api/categories.php?app='+event.app); - // Need cleaning? (DnD helper removes content) if(!this.div.has(this.title).length) { diff --git a/calendar/js/et2_widget_planner.js b/calendar/js/et2_widget_planner.js index 651e727cdb..cdba50590b 100644 --- a/calendar/js/et2_widget_planner.js +++ b/calendar/js/et2_widget_planner.js @@ -1877,9 +1877,6 @@ var et2_calendar_planner = (function(){ "use strict"; return et2_calendar_view.e _type:'select-cat', getInstanceManager: function() {return im;} }, {application:event.data.app||'calendar'}); - - // Get CSS too - egw.includeCSS('/api/categories.php?app='+event.data.app); } }