Browse Source

Empty the element before append new child.

pull/8071/head
maliming 6 years ago
committed by GitHub
parent
commit
59b87f1294
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      framework/src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared/wwwroot/libs/abp/aspnetcore-mvc-ui-theme-shared/datatables/datatables-extensions.js

2
framework/src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared/wwwroot/libs/abp/aspnetcore-mvc-ui-theme-shared/datatables/datatables-extensions.js

@ -238,7 +238,7 @@ var abp = abp || {};
var $actionButton = $(cells[colIndex]).find(".abp-action-button"); var $actionButton = $(cells[colIndex]).find(".abp-action-button");
if ($actionButton.length === 0) { if ($actionButton.length === 0) {
$(cells[colIndex]).append($actionContainer); $(cells[colIndex]).empty().append($actionContainer);
} }
} }
} }

Loading…
Cancel
Save