From 07972fc074b20fca8e7e7ac07680c5ee56cf27a3 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sat, 11 Jun 2011 11:12:39 +0000 Subject: [PATCH] fixed not set group causing Open action to be displayed below all other actions --- resources/inc/class.resources_ui.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/inc/class.resources_ui.inc.php b/resources/inc/class.resources_ui.inc.php index ea4aea995b..fbbcff98a9 100755 --- a/resources/inc/class.resources_ui.inc.php +++ b/resources/inc/class.resources_ui.inc.php @@ -192,7 +192,7 @@ class resources_ui ($master['short_description'] ? ' [' . $master['short_description'] . ']' : ''); } $preserv = $content; - + $GLOBALS['egw']->session->appsession('session_data','resources_index_nm',$content['nm']); $this->tmpl->read('resources.show'); return $this->tmpl->exec('resources.resources_ui.index',$content,$sel_options,$no_button,$preserv); @@ -212,7 +212,7 @@ class resources_ui 'allowOnMultiple' => false, 'url' => 'menuaction=resources.resources_ui.edit&res_id=$id', 'popup' => egw_link::get_registry('resources', 'add_popup'), - 'group' => $group, + 'group' => $group=1, 'disableClass' => 'rowNoEdit', ), 'view' => array(