Skip to content
This repository
Browse code

Revert "Datepicker: Add missing events"

This reverts commit fc91df9.
  • Loading branch information...
commit 94fbada5711a2e55070981d6b0e6066a8c5755ca 1 parent 78f3231
Scott González authored October 21, 2012

Showing 1 changed file with 0 additions and 27 deletions. Show diff stats Hide diff stats

  1. 27  entries/datepicker.xml
27  entries/datepicker.xml
@@ -251,33 +251,6 @@
251 251
 			<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>
252 252
 		</option>
253 253
 	</options>
254  
-	<events>
255  
-		<event name="beforeShow" type="datepickerbeforeshow">
256  
-			<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>
257  
-			<argument name="input" type="jQuery"/>
258  
-			<argument name="inst" type="jQuery"/>
259  
-		</event>
260  
-		<event name="beforeShowDay" type="datepickerbeforeshowday">
261  
-			<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>
262  
-			<argument name="date" type="Date"/>
263  
-		</event>
264  
-		<event name="onChangeMonthYear" type="datepickeronchangenonthyear">
265  
-			<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>
266  
-			<argument name="year" type="Integer"/>
267  
-			<argument name="month" type="Integer"/>
268  
-			<argument name="inst" type="jQuery"/>
269  
-		</event>
270  
-		<event name="onClose" type="datepickeronclose">
271  
-			<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>
272  
-			<argument name="dateTxt" type="String"/>
273  
-			<argument name="inst" type="jQuery"/>
274  
-		</event>
275  
-		<event name="onSelect" type="datepickeronselect">
276  
-			<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>
277  
-			<argument name="dateTxt" type="String"/>
278  
-			<argument name="inst" type="jQuery"/>
279  
-		</event>
280  
-	</events>
281 254
 	<methods>
282 255
 		<xi:include href="../includes/widget-method-destroy.xml" xmlns:xi="http://www.w3.org/2003/XInclude"/>
283 256
 		<method name="dialog">

0 notes on commit 94fbada

Please sign in to comment.
Something went wrong with that request. Please try again.