Browse Source
Update BlogPostSaveConfirmationMessage in create.js
pull/18772/head
Enis Necipoglu
2 years ago
No known key found for this signature in database
GPG Key ID: 1EC55E13241E1680
1 changed files with
1 additions and
5 deletions
-
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 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"; |
|
|
|
|
|
|
|
@ -47,7 +47,6 @@ $(function () { |
|
|
|
e.preventDefault(); |
|
|
|
|
|
|
|
if ($formCreate.valid()) { |
|
|
|
|
|
|
|
abp.message.confirm( |
|
|
|
message, |
|
|
|
async function (isConfirmed) { |
|
|
|
@ -163,9 +162,6 @@ $(function () { |
|
|
|
$coverImage.val(result.successful[0].response.body.id); |
|
|
|
} |
|
|
|
} |
|
|
|
else { |
|
|
|
abp.ui.clearBusy(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
function finishSaving() { |
|
|
|
|