Subversion Repositories Applications.papyrus

Rev

Blame | Last modification | View Log | RSS feed

if(!dojo._hasResource["dijit.form.DateTextBox"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code.
dojo._hasResource["dijit.form.DateTextBox"] = true;
dojo.provide("dijit.form.DateTextBox");

dojo.require("dijit._Calendar");
dojo.require("dijit.form.TimeTextBox");

dojo.declare(
        "dijit.form.DateTextBox",
        dijit.form.TimeTextBox,
        {
                // summary:
                //              A validating, serializable, range-bound date text box.

                _popupClass: "dijit._Calendar",

                postMixInProperties: function(){
                        this.inherited('postMixInProperties', arguments);
                        this.constraints.selector = 'date';
                }
        }
);

}