mirror of https://github.com/abpframework/abp.git
Browse Source
The delete button for blog posts has been removed from the public blog post view and its associated JavaScript handler deleted. Additionally, blog feature queries are now ordered by feature name in both EF Core and MongoDB repositories, and the blog post admin list default sort order has been updated.pull/24052/head
5 changed files with 9 additions and 23 deletions
@ -1,16 +1,4 @@ |
|||
$(function () { |
|||
|
|||
let l = abp.localization.getResource("CmsKit"); |
|||
|
|||
$('#deleteBlogPost').on('click', '', function (e) { |
|||
abp.message.confirm(l("DeleteBlogPostMessage"), function (ok) { |
|||
if (ok) { |
|||
volo.cmsKit.public.blogs.blogPostPublic.delete( |
|||
$('#BlogId').val() |
|||
).then(function () { |
|||
document.location.href = "/"; |
|||
}); |
|||
} |
|||
}) |
|||
}); |
|||
}); |
|||
|
|||
Loading…
Reference in new issue