* 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 11:58:10 +00:00
parent e41bf911fb
commit 0abfcc9c99

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']);