X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=_source%2Fplugins%2Ftableresize%2Fplugin.js;h=50ec8d6521817bcf5e0cd68ffe3f9167a1db6b86;hb=9afde8772159bd3436f1f5b7862960307710ae5a;hp=f16978a9de1d330708e279ef3a2b438b7b4eecb1;hpb=e371ddf8abcb89013e20e6d0dd746adec344d0e5;p=ckeditor.git diff --git a/_source/plugins/tableresize/plugin.js b/_source/plugins/tableresize/plugin.js index f16978a..50ec8d6 100644 --- a/_source/plugins/tableresize/plugin.js +++ b/_source/plugins/tableresize/plugin.js @@ -298,7 +298,7 @@ For licensing, see LICENSE.html or http://ckeditor.com/license document = editor.document; resizer = CKEDITOR.dom.element.createFromHtml( - '
', document ); @@ -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' ) ) ) {