X-Git-Url: http://git.roojs.org/?p=roojs1;a=blobdiff_plain;f=Roo%2Fbootstrap%2Fform%2FForm.js;fp=Roo%2Fbootstrap%2FForm.js;h=e8504c468af5dccb7bf88781b82eb65345c919e2;hp=74aa41bae75526c7f21e05ac0b4a06a1df0ad47f;hb=e01802ac69da0ec0c9ccecc295beff82c1779f68;hpb=0fa7894b7489284160ff14afdca7b6911983357f diff --git a/Roo/bootstrap/Form.js b/Roo/bootstrap/form/Form.js similarity index 98% rename from Roo/bootstrap/Form.js rename to Roo/bootstrap/form/Form.js index 74aa41bae7..e8504c468a 100644 --- a/Roo/bootstrap/Form.js +++ b/Roo/bootstrap/form/Form.js @@ -6,8 +6,9 @@ */ /** - * @class Roo.bootstrap.Form + * @class Roo.bootstrap.form.Form * @extends Roo.bootstrap.Component + * @children Roo.bootstrap.Component * Bootstrap Form class * @cfg {String} method GET | POST (default POST) * @cfg {String} labelAlign top | left (default top) @@ -21,11 +22,11 @@ */ -Roo.bootstrap.Form = function(config){ +Roo.bootstrap.form.Form = function(config){ - Roo.bootstrap.Form.superclass.constructor.call(this, config); + Roo.bootstrap.form.Form.superclass.constructor.call(this, config); - Roo.bootstrap.Form.popover.apply(); + Roo.bootstrap.form.Form.popover.apply(); this.addEvents({ /** @@ -59,7 +60,7 @@ Roo.bootstrap.Form = function(config){ }); }; -Roo.extend(Roo.bootstrap.Form, Roo.bootstrap.Component, { +Roo.extend(Roo.bootstrap.form.Form, Roo.bootstrap.Component, { /** * @cfg {String} method @@ -189,7 +190,7 @@ Roo.extend(Roo.bootstrap.Form, Roo.bootstrap.Component, { }); if(this.errorMask && !valid){ - Roo.bootstrap.Form.popover.mask(this, target); + Roo.bootstrap.form.Form.popover.mask(this, target); } return valid; @@ -606,7 +607,7 @@ clientValidation Boolean Applies to submit only. Pass true to call fo }); -Roo.apply(Roo.bootstrap.Form, { +Roo.apply(Roo.bootstrap.form.Form, { popover : { @@ -742,7 +743,7 @@ Roo.apply(Roo.bootstrap.Form, { this.toolTip.show(tip); this.intervalID = window.setInterval(function() { - Roo.bootstrap.Form.popover.unmask(); + Roo.bootstrap.form.Form.popover.unmask(); }, 10000); window.onwheel = function(){ return false;};