Roo/bootstrap/FieldLabel.js
authorEdward <edward@roojs.com>
Mon, 17 Sep 2018 06:56:26 +0000 (14:56 +0800)
committerEdward <edward@roojs.com>
Mon, 17 Sep 2018 06:56:26 +0000 (14:56 +0800)
Roo/bootstrap/FieldLabel.js

index e692a94..a06d9a4 100644 (file)
@@ -56,14 +56,8 @@ Roo.extend(Roo.bootstrap.FieldLabel, Roo.bootstrap.Component,  {
     iconTooltip : 'This field is required',
     indicatorpos : 'left',
     
-    getAutoCreate : function(){
-        
-       var cls = "";
-        
-       if (!this.allowBlank) {
-           cls  = "visible";
-       }
-        
+    getAutoCreate : function()
+    {   
         var cfg = {
             tag : this.tag,
             cls : 'roo-bootstrap-field-label ' + this.cls,