From c32ab85757212d097340bddde2d15a3db3b916c7 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Wed, 25 Jun 2014 16:09:51 +0000 Subject: [PATCH] Just use edit, it's easier and won't cause issues with filtering. --- timesheet/inc/class.timesheet_ui.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/timesheet/inc/class.timesheet_ui.inc.php b/timesheet/inc/class.timesheet_ui.inc.php index 416c97d348..15577f20c2 100644 --- a/timesheet/inc/class.timesheet_ui.inc.php +++ b/timesheet/inc/class.timesheet_ui.inc.php @@ -256,7 +256,7 @@ class timesheet_ui extends timesheet_bo egw_link::link(TIMESHEET_APP,$this->data['ts_id'],$content['link_to']['to_id']); } } - egw_framework::refresh_opener($msg, 'timesheet', $this->data['ts_id'], $content['ts_id'] ? 'update' : 'add'); + egw_framework::refresh_opener($msg, 'timesheet', $this->data['ts_id'], $content['ts_id'] ? 'edit' : 'add'); if ($button == 'apply') break; if ($button == 'save_new') {