diff --git a/src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared/wwwroot/libs/abp/aspnetcore.mvc.ui.theme.shared/datatables/datatables-extensions.js b/src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared/wwwroot/libs/abp/aspnetcore.mvc.ui.theme.shared/datatables/datatables-extensions.js index 257f54a795..eeb3116e51 100644 --- a/src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared/wwwroot/libs/abp/aspnetcore.mvc.ui.theme.shared/datatables/datatables-extensions.js +++ b/src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared/wwwroot/libs/abp/aspnetcore.mvc.ui.theme.shared/datatables/datatables-extensions.js @@ -24,9 +24,16 @@ e.preventDefault(); if (!$(this).closest('li').hasClass('disabled')) { - fieldItem.action({ - record: record - }); + if (fieldItem.confirmMessage) { + abp.message.confirm(fieldItem.confirmMessage({ record: record })) + .done(function(accepted) { + if (accepted) { + fieldItem.action({ record: record }); + } + }); + } else { + fieldItem.action({ record: record }); + } } }); }