1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-13 08:34:19 +02:00

Flextype 0.9.7

This commit is contained in:
Awilum
2020-03-03 11:28:03 +03:00
parent a2bf45566c
commit 97d1e843ed
3 changed files with 8 additions and 5 deletions

View File

@@ -504,12 +504,10 @@ class EntriesController extends Controller
if (!$this->entries->has($data['parent_entry'] . '/' . $entry_id_current)) {
if ($this->entries->rename(
$entry_id_current,
$data['entry_id_path_current'],
$data['parent_entry'] . '/' . $entry_id_current
)) {
rename(PATH['uploads'] . '/entries/' . $entry_id_current, PATH['uploads'] . '/entries/' . $data['parent_entry'] . '/' . $entry_id_current);
rename(PATH['uploads'] . '/entries/' . $data['entry_id_path_current'], PATH['uploads'] . '/entries/' . $data['parent_entry'] . '/' . $entry_id_current);
$this->clearEntryCounter($data['parent_entry']);
$this->flash->addMessage('success', __('admin_message_entry_moved'));
} else {

View File

@@ -49,3 +49,9 @@ h4
{
@apply text-2xl;
}
input:focus,
button:focus,
button:active {
outline: none;
}

View File

@@ -285,7 +285,6 @@
Swal.fire({
title: "{{ tr('admin_select_entry_type') }}",
showCloseButton: true,
focusCloseButton: false,
showConfirmButton: false,
html: $('._select-entry-type-template').html(),
onBeforeOpen: () => {