49aa11ab2f337dc54ff477c3f3a7d5a03ebeb678.svn-base 691 B

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