1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-08-09 10:22:51 +03:00

Drawio: Added unsaved restore prompt and logic

This commit is contained in:
Dan Brown
2023-08-23 14:16:20 +01:00
parent a4fbde9185
commit dd71658d70
4 changed files with 37 additions and 2 deletions

View File

@@ -1,5 +1,6 @@
<div components="popup confirm-dialog"
refs="confirm-dialog@popup {{ $ref }}"
@if($id ?? false) id="{{ $id }}" @endif
refs="confirm-dialog@popup {{ $ref ?? false }}"
class="popup-background">
<div class="popup-body very-small" tabindex="-1">

View File

@@ -69,4 +69,11 @@
{{ trans('entities.pages_edit_delete_draft_confirm') }}
</p>
@endcomponent
{{--Saved Drawing--}}
@component('common.confirm-dialog', ['title' => trans('entities.pages_drawing_unsaved'), 'id' => 'unsaved-drawing-dialog'])
<p>
{{ trans('entities.pages_drawing_unsaved_confirm') }}
</p>
@endcomponent
</div>