From 1fb46fbf9f6c5e1454e0873939e1acc4887bd795 Mon Sep 17 00:00:00 2001 From: Jens Klaer Date: Fri, 30 Oct 2015 10:25:32 +0100 Subject: allow (anonymous) functions for TJuiControlOptions, changed TJuiDatepicker widget events to options --- framework/Web/UI/JuiControls/TJuiDatePicker.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'framework/Web/UI/JuiControls/TJuiDatePicker.php') diff --git a/framework/Web/UI/JuiControls/TJuiDatePicker.php b/framework/Web/UI/JuiControls/TJuiDatePicker.php index d894e07d..1f6e7619 100644 --- a/framework/Web/UI/JuiControls/TJuiDatePicker.php +++ b/framework/Web/UI/JuiControls/TJuiDatePicker.php @@ -93,7 +93,8 @@ class TJuiDatePicker extends TActiveTextBox implements INamingContainer, IJuiOpt 'dayNamesShort', 'defaultDate', 'duration', 'firstDay', 'gotoCurrent', 'hideIfNoPrevNext', 'isRTL', 'maxDate', 'minDate', 'monthNames', 'monthNamesShort', 'navigationAsDateFormat', 'nextText', 'numberOfMonths', 'prevText', 'selectOtherMonths', 'shortYearCutoff', 'showAnim', 'showButtonPanel', 'showCurrentAtPos', 'showMonthAfterYear', - 'showOn', 'showOptions', 'showOtherMonths', 'showWeek', 'stepMonths', 'weekHeader', 'yearRange', 'yearSuffix'); + 'showOn', 'showOptions', 'showOtherMonths', 'showWeek', 'stepMonths', 'weekHeader', 'yearRange', 'yearSuffix', + 'beforeShow', 'beforeShowDay', 'onChangeMonthYear', 'onClose', 'onSelect'); } /** @@ -102,7 +103,7 @@ class TJuiDatePicker extends TActiveTextBox implements INamingContainer, IJuiOpt */ public function getValidEvents() { - return array('beforeShow', 'beforeShowDay', 'onChangeMonthYear', 'onClose', 'onSelect'); + return array(); } /** -- cgit v1.2.3