Expense Item description - Follow-up to pull request #22 (#23)
[timetracker.git] / time.php
index 768a809..47e06a1 100644 (file)
--- a/time.php
+++ b/time.php
@@ -195,6 +195,8 @@ if (!$user->canManageTeam() && defined('READONLY_START_FINISH') && isTrue(READON
 }
 if ((TYPE_DURATION == $user->record_type) || (TYPE_ALL == $user->record_type))
   $form->addInput(array('type'=>'text','name'=>'duration','value'=>$cl_duration,'onchange'=>"formDisable('duration');"));
+if (!defined('NOTE_INPUT_HEIGHT'))
+       define('NOTE_INPUT_HEIGHT', 40);
 $form->addInput(array('type'=>'textarea','name'=>'note','style'=>'width: 600px; height:'.NOTE_INPUT_HEIGHT.'px;','value'=>$cl_note));
 $form->addInput(array('type'=>'calendar','name'=>'date','value'=>$cl_date)); // calendar
 if ($user->isPluginEnabled('iv'))