mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/WikiEditor
synced 2024-11-24 08:14:33 +00:00
Make sure a row is closed in the toolbar.
Patch by User:Lupo Bug 31673
This commit is contained in:
parent
d82577cce1
commit
2c9bbffca7
Notes:
Derk-Jan Hartman
2011-11-14 21:21:15 +00:00
|
@ -534,7 +534,7 @@ fn: {
|
|||
for ( var i = 0; i< headings.length; i++ ) {
|
||||
html += '<th>' + $.wikiEditor.autoMsg( headings[i], ['html', 'text'] ) + '</th>';
|
||||
}
|
||||
return html;
|
||||
return html + '</tr>';
|
||||
},
|
||||
buildRow : function( context, row ) {
|
||||
var html = '<tr>';
|
||||
|
@ -542,8 +542,7 @@ fn: {
|
|||
html += '<td class="cell cell-' + cell + '" valign="top"><span>' +
|
||||
$.wikiEditor.autoMsg( row[cell], ['html', 'text'] ) + '</span></td>';
|
||||
}
|
||||
html += '</tr>';
|
||||
return html;
|
||||
return html + '</tr>';
|
||||
},
|
||||
buildCharacter : function( character, actions ) {
|
||||
if ( typeof character == 'string' ) {
|
||||
|
|
Loading…
Reference in a new issue