Skip to content

Commit

Permalink
Updates 1187 - explicitly specifiy closing bracket when adding a new …
Browse files Browse the repository at this point in the history
…row to group
  • Loading branch information
lipemat committed Nov 14, 2018
1 parent 59ccc60 commit cf30a0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/cmb2.js
Original file line number Diff line number Diff line change
Expand Up @@ -641,7 +641,7 @@ window.CMB2 = window.CMB2 || {};
cmb.newRowHousekeeping( $row.data( 'title', $this.data( 'grouptitle' ) ) ).cleanRow( $row, prevNum, true );
$row.find( '.cmb-add-row-button' ).prop( 'disabled', false );

var $newRow = $( '<' + $row.prop('nodeName') + ' class="postbox cmb-row cmb-repeatable-grouping" data-iterator="'+ cmb.idNumber +'">'+ $row.html() +'</>' );
var $newRow = $( '<' + $row.prop('nodeName') + ' class="postbox cmb-row cmb-repeatable-grouping" data-iterator="'+ cmb.idNumber +'">'+ $row.html() +'</' + $row.prop('nodeName') + '>' );
$oldRow.after( $newRow );

cmb.afterRowInsert( $newRow );
Expand Down

0 comments on commit cf30a0f

Please sign in to comment.