From 0abfcc9c99f7d05dea2c7e6e923a7cce90e628d4 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 22 May 2012 11:58:10 +0000 Subject: [PATCH] * Timesheet: button [Save & New] keeps title (blur) set if called via timesheet submenu/icon of app (my.stylite.de bug #2669) --- 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 f03d97e9f6..c7e4bdd622 100644 --- a/timesheet/inc/class.timesheet_ui.inc.php +++ b/timesheet/inc/class.timesheet_ui.inc.php @@ -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']);