Just use edit, it's easier and won't cause issues with filtering.

This commit is contained in:
Nathan Gray 2014-06-25 16:09:51 +00:00
parent 936b6d90cc
commit c32ab85757

View File

@ -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_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 == 'apply') break;
if ($button == 'save_new') if ($button == 'save_new')
{ {