JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
vanilla ckeditor-3.4.2
[ckeditor.git] / _source / plugins / tableresize / plugin.js
index f16978a..23c19d6 100644 (file)
@@ -393,7 +393,7 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
                                return;\r
                }\r
 \r
-               target.getAscendant( 'table', true ).removeCustomData( '_cke_table_pillars' );\r
+               target.getAscendant( 'table', 1 ).removeCustomData( '_cke_table_pillars' );\r
                evt.removeListener();\r
        }\r
 \r
@@ -423,10 +423,10 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
                                                        table,\r
                                                        pillars;\r
 \r
-                                               if ( !target.is( 'table' ) && !target.getAscendant( 'tbody', true ) )\r
+                                               if ( !target.is( 'table' ) && !target.getAscendant( 'tbody', 1 ) )\r
                                                        return;\r
 \r
-                                               table = target.getAscendant( 'table', true );\r
+                                               table = target.getAscendant( 'table', 1 );\r
 \r
                                                if ( !( pillars = table.getCustomData( '_cke_table_pillars' ) ) )\r
                                                {\r