Changeset 1434


Ignore:
Timestamp:
04/10/18 21:23:30 (8 months ago)
Author:
gogo
Message:

A small improvement for Stylist, don't show an empty stylist panel when there are no styles to choose.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/Stylist/Stylist.js

    r1349 r1434  
    245245    } 
    246246  } 
     247 
     248  if(main.childNodes.length) 
     249  { 
     250    this.plugins.Stylist.instance.dialog.show(); 
     251  } 
    247252}; 
    248253 
     
    603608        Xinha._addClass( this.dialog.rootElem, 'Stylist' ); 
    604609        this.dialog.attachToPanel('right'); 
    605   this.dialog.show(); 
     610  // this.dialog.show(); 
    606611   
    607612        var dialog = this.dialog; 
Note: See TracChangeset for help on using the changeset viewer.