Fix on refreshing description & images from products
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
@include('boilerplate::load.fileinput')
|
||||
|
||||
@component('components.layout.box-collapse', ['id' => ($prefix ?? '') . ($name ?? 'images'), 'title' => $title ?? 'Photos', 'collapsed' => $collapsed ?? false])
|
||||
|
||||
@include('components.uploader.mini-gallery')
|
||||
@@ -17,7 +15,12 @@
|
||||
|
||||
@endcomponent
|
||||
|
||||
@push('js')
|
||||
@include('boilerplate::load.fileinput')
|
||||
|
||||
@if ($no_popup ?? true)
|
||||
@push('js')
|
||||
@endif
|
||||
|
||||
<script>
|
||||
@if ($can_edit ?? true)
|
||||
function {{ $prefix ?? '' }}append_image() {
|
||||
@@ -53,4 +56,7 @@
|
||||
{{ $prefix ?? '' }}loadImages();
|
||||
});
|
||||
</script>
|
||||
@endpush
|
||||
|
||||
@if ($no_popup ?? true)
|
||||
@endpush
|
||||
@endif
|
||||
Reference in New Issue
Block a user