From d8fe729ffd7a72d0a843d61bdcb052432f1e3bbe Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sat, 19 Mar 2016 12:58:20 +0000 Subject: [PATCH] remove unnecessary check, stalling moving eT2 to api --- admin/inc/class.admin_categories.inc.php | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/admin/inc/class.admin_categories.inc.php b/admin/inc/class.admin_categories.inc.php index 21342e4838..59641f1ffc 100644 --- a/admin/inc/class.admin_categories.inc.php +++ b/admin/inc/class.admin_categories.inc.php @@ -212,7 +212,7 @@ class admin_categories return; } } - + if ($button == 'save') { egw_framework::refresh_opener($msg, $refresh_app, $content['id'], $change_color ? null : 'update', $this->appname); @@ -604,11 +604,8 @@ class admin_categories $tmpl = new etemplate_new('admin.categories.index'); - if($tmpl instanceof etemplate_widget_template) - { - // Category styles - categories::css($appname); - } + // Category styles + categories::css($appname); $tmpl->exec($this->list_link,$content,$sel_options,$readonlys,array( 'nm' => $content['nm'],