using now edit instead of view, as we do now, when there is no distinct view

This commit is contained in:
Ralf Becker 2011-06-02 17:10:26 +00:00
parent cfc3039bc0
commit f2434dd357

View File

@ -41,11 +41,13 @@ class timesheet_hooks
'title' => TIMESHEET_APP.'.timesheet_bo.link_title', 'title' => TIMESHEET_APP.'.timesheet_bo.link_title',
'titles'=> TIMESHEET_APP.'.timesheet_bo.link_titles', 'titles'=> TIMESHEET_APP.'.timesheet_bo.link_titles',
'view' => array( 'view' => array(
'menuaction' => TIMESHEET_APP.'.timesheet_ui.view', 'menuaction' => TIMESHEET_APP.'.timesheet_ui.edit',
), ),
'view_id' => 'ts_id', 'view_id' => 'ts_id',
'view_popup' => '600x425', 'view_popup' => '600x425',
'view_list' => 'timesheet.timesheet_ui.index', 'index' => array(
'menuaction' => 'timesheet.timesheet_ui.index',
),
'add' => array( 'add' => array(
'menuaction' => TIMESHEET_APP.'.timesheet_ui.edit', 'menuaction' => TIMESHEET_APP.'.timesheet_ui.edit',
), ),