From 5e23bd2ce80a9a5c12971f9ded30776363ccd63b Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Tue, 27 Jan 2015 22:42:18 +0000 Subject: [PATCH] Keep appname through actions, fixes blank after action --- admin/inc/class.admin_categories.inc.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/admin/inc/class.admin_categories.inc.php b/admin/inc/class.admin_categories.inc.php index 483f44e130..3f3af1c684 100644 --- a/admin/inc/class.admin_categories.inc.php +++ b/admin/inc/class.admin_categories.inc.php @@ -471,6 +471,7 @@ class admin_categories } elseif($content['nm']['action']) { + $appname = $content['nm']['appname']; // Old buttons foreach(array('delete') as $button) { @@ -515,6 +516,8 @@ class admin_categories { $msg .= lang('%1 category(s) %2, %3 failed because of insufficent rights !!!',$success,$action_msg,$failed); } + egw_framework::refresh_opener($msg, 'admin'); + $msg = ''; } } $content['msg'] = $msg;