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
No known key found for this signature in database
GPG Key ID: 1EC55E13241E1680
1 changed files with
1 additions and
1 deletions
-
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"); |
|
|
var cells = $(nRow).children("td"); |
|
|
for (var i = 0; i < cells.length; i++) { |
|
|
for (var i = 0; i < cells.length; i++) { |
|
|
var cell = cells[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"); |
|
|
var $actionButton = $(cell).find(".abp-action-button"); |
|
|
if ($actionButton.length === 0) { |
|
|
if ($actionButton.length === 0) { |
|
|
$(cell).empty().append($actionContainer); |
|
|
$(cell).empty().append($actionContainer); |
|
|
|