Browse Source

Update BlogPostSaveConfirmationMessage in create.js

pull/18772/head
Enis Necipoglu 3 years ago
parent
commit
fc63b3c65e
No known key found for this signature in database GPG Key ID: 1EC55E13241E1680
  1. 6
      modules/cms-kit/src/Volo.CmsKit.Admin.Web/Pages/CmsKit/BlogPosts/create.js

6
modules/cms-kit/src/Volo.CmsKit.Admin.Web/Pages/CmsKit/BlogPosts/create.js

@ -27,7 +27,7 @@ $(function () {
var UPPY_FILE_ID = "uppy-upload-file"; var UPPY_FILE_ID = "uppy-upload-file";
var isTagsEnabled = true; var isTagsEnabled = true;
var message = l('BlogPostSaveConfirmationMessage', $status.val()); var message = l('BlogPostSaveConfirmationMessage', $title.val());
$formCreate.data('validator').settings.ignore = ":hidden, [contenteditable='true']:not([name]), .tui-popup-wrapper"; $formCreate.data('validator').settings.ignore = ":hidden, [contenteditable='true']:not([name]), .tui-popup-wrapper";
@ -47,7 +47,6 @@ $(function () {
e.preventDefault(); e.preventDefault();
if ($formCreate.valid()) { if ($formCreate.valid()) {
abp.message.confirm( abp.message.confirm(
message, message,
async function (isConfirmed) { async function (isConfirmed) {
@ -163,9 +162,6 @@ $(function () {
$coverImage.val(result.successful[0].response.body.id); $coverImage.val(result.successful[0].response.body.id);
} }
} }
else {
abp.ui.clearBusy();
}
} }
function finishSaving() { function finishSaving() {

Loading…
Cancel
Save