Roo/bootstrap/Component.js
authorAlan Knowles <alan@roojs.com>
Fri, 13 Jul 2018 06:04:15 +0000 (14:04 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 13 Jul 2018 06:04:15 +0000 (14:04 +0800)
Roo/bootstrap/Component.js

index 26a4ce3..d416379 100644 (file)
@@ -386,7 +386,7 @@ Roo.extend(Roo.bootstrap.Component, Roo.BoxComponent,  {
      */
     show : function()
     {
-        if(!this.getEl()){
+        if(!this.getVisibilityEl()){
             return;
         }
          
@@ -399,7 +399,7 @@ Roo.extend(Roo.bootstrap.Component, Roo.BoxComponent,  {
      */
     hide: function()
     {
-        if(!this.getEl() || this.getEl().hasClass('hidden')){
+        if(!this.getVisibilityEl()){
             return;
         }