| 2150 |
mathias |
1 |
if(!dojo._hasResource["dijit.form.DateTextBox"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code.
|
|
|
2 |
dojo._hasResource["dijit.form.DateTextBox"] = true;
|
|
|
3 |
dojo.provide("dijit.form.DateTextBox");
|
|
|
4 |
|
|
|
5 |
dojo.require("dijit._Calendar");
|
|
|
6 |
dojo.require("dijit.form.TimeTextBox");
|
|
|
7 |
|
|
|
8 |
dojo.declare(
|
|
|
9 |
"dijit.form.DateTextBox",
|
|
|
10 |
dijit.form.TimeTextBox,
|
|
|
11 |
{
|
|
|
12 |
// summary:
|
|
|
13 |
// A validating, serializable, range-bound date text box.
|
|
|
14 |
|
|
|
15 |
_popupClass: "dijit._Calendar",
|
|
|
16 |
|
|
|
17 |
postMixInProperties: function(){
|
|
|
18 |
this.inherited('postMixInProperties', arguments);
|
|
|
19 |
this.constraints.selector = 'date';
|
|
|
20 |
}
|
|
|
21 |
}
|
|
|
22 |
);
|
|
|
23 |
|
|
|
24 |
}
|