X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=docs%2Fsymbols%2Fsrc%2FRoo_bootstrap_DateField.js.html;h=8a49981abb5042c747be46ec4d95f47b4e02705e;hb=7d8290ee43eec264e8d9276b83debe3a035cb929;hp=ead092dbeffab0d1dfe34949598e0c4c6b643d3b;hpb=2a1db797ae4360623f7e3ac751623317dada79f1;p=roojs1 diff --git a/docs/symbols/src/Roo_bootstrap_DateField.js.html b/docs/symbols/src/Roo_bootstrap_DateField.js.html index ead092dbef..8a49981abb 100644 --- a/docs/symbols/src/Roo_bootstrap_DateField.js.html +++ b/docs/symbols/src/Roo_bootstrap_DateField.js.html @@ -930,6 +930,10 @@ validateValue : function(value) { + if(this.getEl().hasClass('hidden')){ + return true; + } + if(value.length < 1) { if(this.allowBlank){ return true; @@ -974,6 +978,21 @@ return true; + }, + + setVisible : function(visible) + { + if(!this.getEl()){ + return; + } + + this.getEl().removeClass('hidden'); + + if(visible){ + return; + } + + this.getEl().addClass('hidden'); } });