forked from extern/egroupware
remove title-blur for same behavior after apply, as for opening the saved entry again
This commit is contained in:
parent
d5f9c5b93c
commit
4ddfc607bc
@ -183,6 +183,14 @@ class timesheet_ui extends timesheet_bo
|
|||||||
{
|
{
|
||||||
$etpl->set_validation_error('ts_title',lang('Field must not be empty !!!'));
|
$etpl->set_validation_error('ts_title',lang('Field must not be empty !!!'));
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
// remove title-blur for same behavior after apply, as for opening the saved entry again
|
||||||
|
unset($this->data['ts_title_blur']);
|
||||||
|
unset($content['ts_title_blur']);
|
||||||
|
unset($this->data['ts_project_blur']);
|
||||||
|
unset($content['ts_project_blur']);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if ($etpl->validation_errors()) break; // the user need to fix the error, before we can save the entry
|
if ($etpl->validation_errors()) break; // the user need to fix the error, before we can save the entry
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user