UniSharp/laravel-filemanager

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

janakkafle opened this issue · 0 comments

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

  • Operating system: windows 11
  • Laravel version: 11
  • Package version: 2.9
  • Screenshots of browser console: [
    Screenshot 2024-08-27 180310
    ]

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