From c1502daa1e90d1a03492a38664811e5a56b03e42 Mon Sep 17 00:00:00 2001 From: Ramakant Gangwar Date: Fri, 23 Feb 2024 10:27:22 +0530 Subject: [PATCH] Fix modal --- resources/views/partials/quick-add-script.blade.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/views/partials/quick-add-script.blade.php b/resources/views/partials/quick-add-script.blade.php index 1fd0103..2b55b3e 100644 --- a/resources/views/partials/quick-add-script.blade.php +++ b/resources/views/partials/quick-add-script.blade.php @@ -50,10 +50,10 @@ success: function (response) { btn.button('reset'); - $('#quick_create_modal{{ $dataId }}').modal('show'); - $('#quick_create_modal{{ $dataId }} .modal-body').html(response); + $('#quick_create_modal{{ $dataId }}').modal('show'); + window.gMapVm = new Vue({ el: '#coordinates-formfield' }); var media_picker_element = document.querySelectorAll('div[id^="media_picker_"]');