Ticket #6575: 6575.patch

File 6575.patch, 543 bytes (added by Tobiasz Cudnik, 13 years ago)
  • _source/plugins/dialog/plugin.js

     
    10291029                hidePage : function( id )
    10301030                {
    10311031                        var tab = this._.tabs[id] && this._.tabs[id][0];
    1032                         if ( !tab || this._.pageCount == 1 )
     1032                        if ( !tab || this._.pageCount == 1 || !tab.isVisible() )
    10331033                                return;
    10341034                        // Switch to other tab first when we're hiding the active tab.
    10351035                        else if ( id == this._.currentTabId )
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy