Ticket #4809: 4809.patch
File 4809.patch, 722 bytes (added by , 14 years ago) |
---|
-
table.js
105 105 if ( !table.$.tHead && ( headers == 'row' || headers == 'both' ) ) 106 106 { 107 107 var thead = new CKEDITOR.dom.element( table.$.createTHead() ); 108 109 // Ensure caption comes first. 110 var captionList = table.getElementsByTag('caption'); 111 112 if ( captionList.count() > 0 ) 113 { 114 var caption = captionList.getItem( 0 ); 115 caption.insertBefore( table.getFirst() ); 116 } 117 108 118 tbody = table.getElementsByTag( 'tbody' ).getItem( 0 ); 109 119 var theRow = tbody.getElementsByTag( 'tr' ).getItem( 0 ); 110 120