|
@@ -1871,8 +1871,8 @@
|
|
|
// remove and update
|
|
// remove and update
|
|
|
if ($tr.next().is('tr.detail-view')) {
|
|
if ($tr.next().is('tr.detail-view')) {
|
|
|
$this.find('i').attr('class', sprintf('%s %s', that.options.iconsPrefix, that.options.icons.detailOpen));
|
|
$this.find('i').attr('class', sprintf('%s %s', that.options.iconsPrefix, that.options.icons.detailOpen));
|
|
|
- $tr.next().remove();
|
|
|
|
|
that.trigger('collapse-row', index, row);
|
|
that.trigger('collapse-row', index, row);
|
|
|
|
|
+ $tr.next().remove();
|
|
|
} else {
|
|
} else {
|
|
|
$this.find('i').attr('class', sprintf('%s %s', that.options.iconsPrefix, that.options.icons.detailClose));
|
|
$this.find('i').attr('class', sprintf('%s %s', that.options.iconsPrefix, that.options.icons.detailClose));
|
|
|
$tr.after(sprintf('<tr class="detail-view"><td colspan="%s"></td></tr>', $tr.find('td').length));
|
|
$tr.after(sprintf('<tr class="detail-view"><td colspan="%s"></td></tr>', $tr.find('td').length));
|