Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
ckeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vanilla ckeditor-3.0.1
[ckeditor.git]
/
_source
/
plugins
/
table
/
dialogs
/
table.js
diff --git
a/_source/plugins/table/dialogs/table.js
b/_source/plugins/table/dialogs/table.js
index
2c02aa2
..
461e36e
100644
(file)
--- a/
_source/plugins/table/dialogs/table.js
+++ b/
_source/plugins/table/dialogs/table.js
@@
-97,7
+97,7
@@
For licensing, see LICENSE.html or http://ckeditor.com/license
}
\r
}
\r
\r
}
\r
}
\r
\r
- // Modify the table headers. Depends on havint rows and cols generated
\r
+ // Modify the table headers. Depends on having rows and cols generated
\r
// correctly so it can't be done in commit functions.
\r
\r
// Should we make a <thead>?
\r
// correctly so it can't be done in commit functions.
\r
\r
// Should we make a <thead>?
\r
@@
-115,8
+115,7
@@
For licensing, see LICENSE.html or http://ckeditor.com/license
if ( th.type == CKEDITOR.NODE_ELEMENT )
\r
{
\r
th.renameNode( 'th' );
\r
if ( th.type == CKEDITOR.NODE_ELEMENT )
\r
{
\r
th.renameNode( 'th' );
\r
- if ( !i )
\r
- th.setAttribute( 'scope', 'col' );
\r
+ th.setAttribute( 'scope', 'col' );
\r
}
\r
}
\r
thead.append( theRow.remove() );
\r
}
\r
}
\r
thead.append( theRow.remove() );
\r
@@
-153,7
+152,7
@@
For licensing, see LICENSE.html or http://ckeditor.com/license
{
\r
newCell = new CKEDITOR.dom.element( table.$.rows[ row ].cells[ 0 ] );
\r
newCell.renameNode( 'th' );
\r
{
\r
newCell = new CKEDITOR.dom.element( table.$.rows[ row ].cells[ 0 ] );
\r
newCell.renameNode( 'th' );
\r
- newCell.setAttribute( 'scope', 'col' );
\r
+ newCell.setAttribute( 'scope', 'row' );
\r
}
\r
}
\r
\r
}
\r
}
\r
\r
@@
-166,7
+165,7
@@
For licensing, see LICENSE.html or http://ckeditor.com/license
if ( row.getParent().getName() == 'tbody' )
\r
{
\r
newCell = new CKEDITOR.dom.element( row.$.cells[0] );
\r
if ( row.getParent().getName() == 'tbody' )
\r
{
\r
newCell = new CKEDITOR.dom.element( row.$.cells[0] );
\r
- newCell.renameNode( 'td');
\r
+ newCell.renameNode( 'td' );
\r
newCell.removeAttribute( 'scope' );
\r
}
\r
}
\r
newCell.removeAttribute( 'scope' );
\r
}
\r
}
\r