* Timesheet: button [Save & New] keeps title (blur) set if called via timesheet submenu/icon of app (my.stylite.de bug #2669)

This commit is contained in:
Ralf Becker 2012-05-22 12:00:41 +00:00
parent 93304cf57a
commit bc8bbab95a

View File

@ -180,7 +180,7 @@ class timesheet_ui extends timesheet_bo
{
$etpl->set_validation_error('ts_title',lang('Field must not be empty !!!'));
}
else
elseif($button != 'save_new')
{
// remove title-blur for same behavior after apply, as for opening the saved entry again
unset($this->data['ts_title_blur']);