X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/443346587eb47046e4a5a4624bcb125c665cf615..04bc6bdd39d67bcf9f63d8af4b067f1fafc06f8a:/mobile/time_edit.php diff --git a/mobile/time_edit.php b/mobile/time_edit.php index 9e1fc324..d9ebdd76 100644 --- a/mobile/time_edit.php +++ b/mobile/time_edit.php @@ -178,8 +178,8 @@ if ((TYPE_START_FINISH == $user->record_type) || (TYPE_ALL == $user->record_type } if (!$user->canManageTeam() && defined('READONLY_START_FINISH') && isTrue(READONLY_START_FINISH)) { // Make the start and finish fields read-only. - $form->getElement('start')->setEnable(false); - $form->getElement('finish')->setEnable(false); + $form->getElement('start')->setEnabled(false); + $form->getElement('finish')->setEnabled(false); } if ((TYPE_DURATION == $user->record_type) || (TYPE_ALL == $user->record_type)) $form->addInput(array('type'=>'text','name'=>'duration','value'=>$cl_duration,'onchange'=>"formDisable('duration');"));