remove unnecessary check, stalling moving eT2 to api

This commit is contained in:
Ralf Becker 2016-03-19 12:58:20 +00:00
parent 7b0cc41f3f
commit d8fe729ffd

View File

@ -212,7 +212,7 @@ class admin_categories
return; return;
} }
} }
if ($button == 'save') if ($button == 'save')
{ {
egw_framework::refresh_opener($msg, $refresh_app, $content['id'], $change_color ? null : 'update', $this->appname); 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'); $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( $tmpl->exec($this->list_link,$content,$sel_options,$readonlys,array(
'nm' => $content['nm'], 'nm' => $content['nm'],