Permalink
Browse files

Datepicker: Remove events (again).

  • Loading branch information...
1 parent aff0417 commit e14db83ac865554777c4579868fa950adfca2d9c @scottgonzalez scottgonzalez committed Oct 22, 2012
Showing with 0 additions and 27 deletions.
  1. +0 −27 entries/datepicker.xml
View
@@ -251,33 +251,6 @@
<desc>Called when the datepicker is selected. The function receives the selected date as text and the datepicker instance as parameters. <code>this</code> refers to the associated input field.</desc>
</option>
</options>
- <events>
- <event name="beforeShow" type="datepickerbeforeshow">
- <desc>Can be a function that takes an input field and current datepicker instance and returns an options object to update the datepicker with. It is called just before the datepicker is displayed.</desc>
- <argument name="input" type="jQuery"/>
- <argument name="inst" type="jQuery"/>
- </event>
- <event name="beforeShowDay" type="datepickerbeforeshowday">
- <desc>The function takes a date as a parameter and must return an array with [0] equal to true/false indicating whether or not this date is selectable, [1] equal to a CSS class name(s) or "" for the default presentation, and [2] an optional popup tooltip for this date. It is called for each day in the datepicker before it is displayed.</desc>
- <argument name="date" type="Date"/>
- </event>
- <event name="onChangeMonthYear" type="datepickeronchangenonthyear">
- <desc>Allows you to define your own event when the datepicker moves to a new month and/or year. The function receives the selected year, month (1-12), and the datepicker instance as parameters. this refers to the associated input field.</desc>
- <argument name="year" type="Integer"/>
- <argument name="month" type="Integer"/>
- <argument name="inst" type="jQuery"/>
- </event>
- <event name="onClose" type="datepickeronclose">
- <desc>Allows you to define your own event when the datepicker is closed, whether or not a date is selected. The function receives the selected date as text ("" if none) and the datepicker instance as parameters. this refers to the associated input field.</desc>
- <argument name="dateTxt" type="String"/>
- <argument name="inst" type="jQuery"/>
- </event>
- <event name="onSelect" type="datepickeronselect">
- <desc>Allows you to define your own event when the datepicker is selected. The function receives the selected date as text and the datepicker instance as parameters. this refers to the associated input field.</desc>
- <argument name="dateTxt" type="String"/>
- <argument name="inst" type="jQuery"/>
- </event>
- </events>
<methods>
<xi:include href="../includes/widget-method-destroy.xml" xmlns:xi="http://www.w3.org/2003/XInclude"/>
<method name="dialog">

0 comments on commit e14db83

Please sign in to comment.