X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/9a23a8c0a51b7ec38a96f525484134f3cb85dc7e..e2ac6192ba07b02c08cd0697a62983259ff73b78:/WEB-INF/lib/form/DateField.class.php diff --git a/WEB-INF/lib/form/DateField.class.php b/WEB-INF/lib/form/DateField.class.php index aa8a1498..db59a3b2 100644 --- a/WEB-INF/lib/form/DateField.class.php +++ b/WEB-INF/lib/form/DateField.class.php @@ -39,7 +39,7 @@ class DateField extends TextField { var $lCalendarButtons = array('today'=>'Today', 'close'=>'Close'); - function DateField($name) { + function __construct($name) { $this->mName = $name; $this->mDateObj = new DateAndTime(); @@ -406,9 +406,6 @@ class DateField extends TextField { if ($this->mOnChange!="") $html .= " onchange=\"$this->mOnChange\""; - if ($this->mOnBlur!="") - $html .= " onblur=\"$this->mOnBlur\""; - if ($this->mOnClick!="") $html .= " onclick=\"$this->mOnClick\""; @@ -427,4 +424,3 @@ class DateField extends TextField { return $html; } } -?> \ No newline at end of file