Browse Source

Boom! Meridian time component

topic-sass
Jason Denney 11 years ago
parent
commit
25808eb27a
  1. 8
      app/assets/javascripts/custom_netzke_helpers.js

8
app/assets/javascripts/custom_netzke_helpers.js

@ -209,18 +209,14 @@ Ext.define('Ext.ux.form.field.DateTime', {
}); });
me.items.push(me.colon); me.items.push(me.colon);
me.minuteField = Ext.create('Ext.form.field.Number', { me.minuteField = Ext.create('Ext.form.field.Text', {
validateOnBlur: false,
maxWidth: 30, maxWidth: 30,
allowBlank: false, allowBlank: false,
allowOnlyWhitespace: false, allowOnlyWhitespace: false,
blankText: "Minutes cannot be blank.", blankText: "Minutes cannot be blank.",
allowDecimals: false, regex: /[012345]\d/,
maxValue: 59,
minValue: 0,
maxLength: 2, maxLength: 2,
enforceMaxLength: 2, enforceMaxLength: 2,
hideTrigger: true,
submitValue:false, submitValue:false,
flex:1, flex:1,
isFormField:false, //exclude from field query's isFormField:false, //exclude from field query's

Loading…
Cancel
Save