JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
vanilla ckeditor-3.5
[ckeditor.git] / _source / plugins / tableresize / plugin.js
index f16978a..50ec8d6 100644 (file)
@@ -298,7 +298,7 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
                document = editor.document;\r
 \r
                resizer = CKEDITOR.dom.element.createFromHtml(\r
-                       '<div cke_temp=1 contenteditable=false unselectable=on '+\r
+                       '<div data-cke-temp=1 contenteditable=false unselectable=on '+\r
                        'style="position:absolute;cursor:col-resize;filter:alpha(opacity=0);opacity:0;' +\r
                                'padding:0;background-color:#004;background-image:none;border:0px none;z-index:10"></div>', document );\r
 \r
@@ -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