Roo/bootstrap/Component.js
authorEdward <edward@roojs.com>
Tue, 10 Jul 2018 04:53:27 +0000 (12:53 +0800)
committerEdward <edward@roojs.com>
Tue, 10 Jul 2018 04:53:27 +0000 (12:53 +0800)
Roo/bootstrap/Component.js

index a958872..f14cc2f 100644 (file)
@@ -369,9 +369,12 @@ Roo.extend(Roo.bootstrap.Component, Roo.BoxComponent,  {
      */
     show : function()
     {
-        if (this.el) {
-            this.el.removeClass('hidden');
+        if(!this.getEl()){
+            return;
         }
+        
+        this.getEl().removeClass('hidden');
+        
     },
     /**
      * Hide a component - adds 'hidden' class