X-Git-Url: https://jasonwoof.com/gitweb/?p=ckeditor.git;a=blobdiff_plain;f=_source%2Fplugins%2Ftableresize%2Fplugin.js;h=23c19d60cebddd6403a34d3bdf22337da23eb2b2;hp=f16978a9de1d330708e279ef3a2b438b7b4eecb1;hb=039a051ccf3901311661022a30afd60fc38130c9;hpb=c9fdde67e6384bd5a66adc2b3bba5c4ce9db56c7 diff --git a/_source/plugins/tableresize/plugin.js b/_source/plugins/tableresize/plugin.js index f16978a..23c19d6 100644 --- a/_source/plugins/tableresize/plugin.js +++ b/_source/plugins/tableresize/plugin.js @@ -393,7 +393,7 @@ For licensing, see LICENSE.html or http://ckeditor.com/license return; } - target.getAscendant( 'table', true ).removeCustomData( '_cke_table_pillars' ); + target.getAscendant( 'table', 1 ).removeCustomData( '_cke_table_pillars' ); evt.removeListener(); } @@ -423,10 +423,10 @@ For licensing, see LICENSE.html or http://ckeditor.com/license table, pillars; - if ( !target.is( 'table' ) && !target.getAscendant( 'tbody', true ) ) + if ( !target.is( 'table' ) && !target.getAscendant( 'tbody', 1 ) ) return; - table = target.getAscendant( 'table', true ); + table = target.getAscendant( 'table', 1 ); if ( !( pillars = table.getCustomData( '_cke_table_pillars' ) ) ) {