X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=Roo%2Fbootstrap%2Fform%2FNumberField.js;h=1cf7017b5d9546ffe583168504d4dfe5d82ef569;hb=d7b225294b7387a24fde8cf337415c8907ee351c;hp=e82d69fc92e1d38ebcde602bc614e5089a66ed0e;hpb=d6ed930e56bd5857752de87eab7804e26d2eb766;p=roojs1 diff --git a/Roo/bootstrap/form/NumberField.js b/Roo/bootstrap/form/NumberField.js index e82d69fc92..1cf7017b5d 100644 --- a/Roo/bootstrap/form/NumberField.js +++ b/Roo/bootstrap/form/NumberField.js @@ -5,8 +5,8 @@ */ /** - * @class Roo.bootstrap.NumberField - * @extends Roo.bootstrap.Input + * @class Roo.bootstrap.form.NumberField + * @extends Roo.bootstrap.form.Input * Bootstrap NumberField class * * @@ -17,11 +17,11 @@ * @param {Object} config The config object */ -Roo.bootstrap.NumberField = function(config){ - Roo.bootstrap.NumberField.superclass.constructor.call(this, config); +Roo.bootstrap.form.NumberField = function(config){ + Roo.bootstrap.form.NumberField.superclass.constructor.call(this, config); }; -Roo.extend(Roo.bootstrap.NumberField, Roo.bootstrap.Input, { +Roo.extend(Roo.bootstrap.form.NumberField, Roo.bootstrap.form.Input, { /** * @cfg {Boolean} allowDecimals False to disallow decimal values (defaults to true) @@ -89,7 +89,7 @@ Roo.extend(Roo.bootstrap.NumberField, Roo.bootstrap.Input, { this.name = ''; - var cfg = Roo.bootstrap.NumberField.superclass.getAutoCreate.call(this); + var cfg = Roo.bootstrap.form.NumberField.superclass.getAutoCreate.call(this); this.name = hiddenInput.name; @@ -103,7 +103,7 @@ Roo.extend(Roo.bootstrap.NumberField, Roo.bootstrap.Input, { // private initEvents : function() { - Roo.bootstrap.NumberField.superclass.initEvents.call(this); + Roo.bootstrap.form.NumberField.superclass.initEvents.call(this); var allowed = "0123456789"; @@ -150,7 +150,7 @@ Roo.extend(Roo.bootstrap.NumberField, Roo.bootstrap.Input, { validateValue : function(value) { - if(!Roo.bootstrap.NumberField.superclass.validateValue.call(this, value)){ + if(!Roo.bootstrap.form.NumberField.superclass.validateValue.call(this, value)){ return false; }