ResponsiveFilemanager icon indicating copy to clipboard operation
ResponsiveFilemanager copied to clipboard

Standalone Issues

Open jshster opened this issue 1 year ago • 2 comments

I don't know where this issue has come from but it's going my head in - and hoping someone can help. Basic issue - selecting image in the popup doesn't do anything. Doesn't select the image, doesn't call the callback, no errors in the javascript console or anything. Just no action at all.

I'm using jQuery 3.6.0 with the latest code version of File Manager just using a standard link in a HTML file (I've stripped this back to bare bones to try and determine the issue).

In my CMS which uses an Admin template I'm getting the following error when I click on the image. Uncaught Error: Method hide does not exist on jQuery.modal

The documentation on the website mentions that if you are using Standalone and not using Fancybox that you need to do the following:

If you not use FancyBox, you must use the callback function to close the window or change the close function in filemanager/js/include.js:

function close_window() {
    parent.$.fancybox.close();
} 

Also interesting is this comment in green just under the comment above. I'm actually wondering if this is what has caused the problem.

  • In last version I added the default support to bootstrap modal close

Also.... there is no close_window() method in /js/include.js because the file has been minified. Can someone please rectify this? The .js file should not be minified.... but a .min.js should accompany it which IS minified.

Any help would be appreciated. Right now I just can't get it working.

jshster avatar Aug 25 '22 04:08 jshster