X-Git-Url: http://git.roojs.org/?p=roojs1;a=blobdiff_plain;f=Roo%2Fbootstrap%2Fform%2FDateSplitField.js;fp=Roo%2Fbootstrap%2FDateSplitField.js;h=2108c5ab70ffffe3b55a902d699cf5b93d5eed63;hp=3f6d16b2996435971774efefbc87cad4a5c2f34e;hb=e01802ac69da0ec0c9ccecc295beff82c1779f68;hpb=0fa7894b7489284160ff14afdca7b6911983357f diff --git a/Roo/bootstrap/DateSplitField.js b/Roo/bootstrap/form/DateSplitField.js similarity index 94% rename from Roo/bootstrap/DateSplitField.js rename to Roo/bootstrap/form/DateSplitField.js index 3f6d16b299..2108c5ab70 100644 --- a/Roo/bootstrap/DateSplitField.js +++ b/Roo/bootstrap/form/DateSplitField.js @@ -7,7 +7,7 @@ /** - * @class Roo.bootstrap.DateSplitField + * @class Roo.bootstrap.form.DateSplitField * @extends Roo.bootstrap.Component * Bootstrap DateSplitField class * @cfg {string} fieldLabel - the label associated @@ -33,22 +33,22 @@ * @param {Object} config The config object */ -Roo.bootstrap.DateSplitField = function(config){ - Roo.bootstrap.DateSplitField.superclass.constructor.call(this, config); +Roo.bootstrap.form.DateSplitField = function(config){ + Roo.bootstrap.form.DateSplitField.superclass.constructor.call(this, config); this.addEvents({ // raw events /** * @event years * getting the data of years - * @param {Roo.bootstrap.DateSplitField} this + * @param {Roo.bootstrap.form.DateSplitField} this * @param {Object} years */ "years" : true, /** * @event days * getting the data of days - * @param {Roo.bootstrap.DateSplitField} this + * @param {Roo.bootstrap.form.DateSplitField} this * @param {Object} days */ "days" : true, @@ -68,7 +68,7 @@ Roo.bootstrap.DateSplitField = function(config){ }); }; -Roo.extend(Roo.bootstrap.DateSplitField, Roo.bootstrap.Component, { +Roo.extend(Roo.bootstrap.form.DateSplitField, Roo.bootstrap.Component, { fieldLabel : '', labelAlign : 'top', @@ -174,11 +174,11 @@ Roo.extend(Roo.bootstrap.DateSplitField, Roo.bootstrap.Component, { { var _this = this; - Roo.bootstrap.NavProgressBar.superclass.onRender.call(this, ct, position); + Roo.bootstrap.DateSplitFiel.superclass.onRender.call(this, ct, position); this.inputEl = this.el.select('.roo-date-split-field-group-value', true).first(); - this.dayField = new Roo.bootstrap.ComboBox({ + this.dayField = new Roo.bootstrap.form.ComboBox({ allowBlank : this.dayAllowBlank, alwaysQuery : true, displayField : 'value', @@ -210,7 +210,7 @@ Roo.extend(Roo.bootstrap.DateSplitField, Roo.bootstrap.Component, { this.dayField.render(this.el.select('.roo-date-split-field-day', true).first(), null); - this.monthField = new Roo.bootstrap.MonthField({ + this.monthField = new Roo.bootstrap.form.MonthField({ after : '', allowBlank : this.monthAllowBlank, placeholder : this.monthPlaceholder, @@ -232,7 +232,7 @@ Roo.extend(Roo.bootstrap.DateSplitField, Roo.bootstrap.Component, { this.monthField.render(this.el.select('.roo-date-split-field-month', true).first(), null); - this.yearField = new Roo.bootstrap.ComboBox({ + this.yearField = new Roo.bootstrap.form.ComboBox({ allowBlank : this.yearAllowBlank, alwaysQuery : true, displayField : 'value',