Browse Source

Fix rendering actions cell on specific cases

Co-Authored-By: Masum ULU <49063256+masumulu28@users.noreply.github.com>
pull/19101/head
Enis Necipoglu 3 years ago
parent
commit
eef888553f
No known key found for this signature in database GPG Key ID: 1EC55E13241E1680
  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

@ -258,7 +258,7 @@ var abp = abp || {};
var cells = $(nRow).children("td");
for (var i = 0; i < cells.length; i++) {
var cell = cells[i];
if (cell._DT_CellIndex && cell._DT_CellIndex.row === iDisplayIndex && cell._DT_CellIndex.column === colIndex) {
if (cell._DT_CellIndex && cell._DT_CellIndex.column === colIndex) {
var $actionButton = $(cell).find(".abp-action-button");
if ($actionButton.length === 0) {
$(cell).empty().append($actionContainer);

Loading…
Cancel
Save