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:
@@ -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 {
|
||||
|
@@ -49,3 +49,9 @@ h4
|
||||
{
|
||||
@apply text-2xl;
|
||||
}
|
||||
|
||||
input:focus,
|
||||
button:focus,
|
||||
button:active {
|
||||
outline: none;
|
||||
}
|
||||
|
@@ -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: () => {
|
||||
|
Reference in New Issue
Block a user