| 1 |
define([ |
| 2 |
"dojo/_base/kernel", |
| 3 |
"dojo/dom-style", |
| 4 |
"dojox/widget/Calendar", |
| 5 |
"dijit/form/_DateTimeTextBox", |
| 6 |
"dojo/_base/declare" |
| 7 |
], function(kernel, domStyle, Calendar, _DateTimeTextBox, declare){ |
| 8 |
kernel.experimental("dojox/form/DateTextBox"); |
| 9 |
return declare( "dojox.form.DateTextBox", _DateTimeTextBox, |
| 10 |
{ |
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
baseClass: "dijitTextBox dijitComboBox dojoxDateTextBox", |
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
popupClass: Calendar, |
| 19 |
|
| 20 |
_selector: "date", |
| 21 |
|
| 22 |
openDropDown: function(){ |
| 23 |
this.inherited(arguments); |
| 24 |
domStyle.set(this.dropDown.domNode.parentNode, "position", "absolute"); |
| 25 |
} |
| 26 |
} |
| 27 |
); |
| 28 |
}); |