X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=_source%2Fplugins%2Ftableresize%2Fplugin.js;h=0ba8aad147185977ae374500503d3b4474d85e75;hb=48b1db88210b4160dce439c6e3e32e14af8c106b;hp=f16978a9de1d330708e279ef3a2b438b7b4eecb1;hpb=e371ddf8abcb89013e20e6d0dd746adec344d0e5;p=ckeditor.git diff --git a/_source/plugins/tableresize/plugin.js b/_source/plugins/tableresize/plugin.js index f16978a..0ba8aad 100644 --- a/_source/plugins/tableresize/plugin.js +++ b/_source/plugins/tableresize/plugin.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ @@ -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' ) ) ) {