Ticket #6027: 6027.patch

File 6027.patch, 665 bytes (added by Sa'ar Zac Elias, 14 years ago)
  • _source/plugins/table/dialogs/table.js

     
    8888
    8989                                if ( command == 'tableProperties' )
    9090                                {
    91                                         if ( ( selectedTable = editor.getSelection().getSelectedElement() ) )
     91                                        if ( ( selectedTable = selection.getSelectedElement() ) )
    9292                                        {
    93                                                 if ( selectedTable.getName() != 'table' )
     93                                                if ( !( selectedTable = selectedTable.getAscendant( 'table', true ) ) )
    9494                                                        selectedTable = null;
    9595                                        }
    9696                                        else if ( ranges.length > 0 )
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy