UniSharp / laravel-filemanager

Media gallery with CKEditor, TinyMCE and Summernote support. Built on Laravel file system.
https://unisharp.github.io/laravel-filemanager/
MIT License
2.09k stars 720 forks source link

Uncaught TypeError: window.opener.SetUrl is not a function ( while selectig image after upload) #1244

Closed janak2288 closed 2 months ago

janak2288 commented 2 months ago

Expected Behavior

The file manager should allow the user to select a file, click on "Confirm," and correctly set the file URL in the parent window.

Actual Behavior

When selecting a file and clicking on "Confirm," the following error occurs:

Steps to Reproduce the Problem

  1. Open the file manager.
  2. Select a file.
  3. Click on "Confirm."

Specifications

Code snippet for button triggering the file manager:


<button type="button" class="btn ml-2" onclick="openFileManager('thumbnail', 'thumbnail-preview')">{{ __('Select Thumbnail') }}</button>

video link : https://youtu.be/pfGuWxwdKpY