mirror of
https://github.com/flextype/flextype.git
synced 2025-08-17 02:24:05 +02:00
fix(admin-plugin): fix Confirmation Required modal buttons position issue in the media tab #403
This commit is contained in:
@@ -119,7 +119,7 @@
|
||||
dropdown[row_num].hide();
|
||||
}
|
||||
Swal.fire(
|
||||
{title: "{{ tr('admin_confirmation_required') }}", text: "{{ tr('admin_confirmation_required_for_file_delete') }}", showCancelButton: true, confirmButtonText: "{{ tr('admin_yes_iam_sure')|raw }}", cancelButtonText: "{{ tr('admin_cancel') }}"}
|
||||
{title: "{{ tr('admin_confirmation_required') }}", text: "{{ tr('admin_confirmation_required_for_file_delete') }}", showCancelButton: true, confirmButtonText: "{{ tr('admin_yes_iam_sure')|raw }}", cancelButtonText: "{{ tr('admin_cancel') }}", reverseButtons: true}
|
||||
).then((result) => {
|
||||
if (result.value) {
|
||||
document.getElementById('delete-media-file-' + id).submit();
|
||||
@@ -134,7 +134,6 @@
|
||||
Swal.fire({
|
||||
title: "{{ tr('admin_embeded_code') }}",
|
||||
showCloseButton: true,
|
||||
focusCloseButton: false,
|
||||
showConfirmButton: false,
|
||||
html: $('._embeded-code-template').html(),
|
||||
onBeforeOpen: () => {
|
||||
|
Reference in New Issue
Block a user