trippo / ResponsiveFilemanager

Completely Responsive Filemanager with integration for tinyMCE,CKEditor and CLEditor editor
http://responsivefilemanager.com
Other
808 stars 368 forks source link

"Cannot read properties of null" while selecting image with FancyBox #697

Open imustechsol opened 1 year ago

imustechsol commented 1 year ago

I am using version "9.14.0". I have integrated it with Fancybox. In the href the link is <?php echo $baseurl; ?>/rfm/filemanager/dialog.php?type=1&popup=1&field_id=Gallery_gallery_thumb&relative_url=1&multiple=0

With this config, while clicking on the image to select the fancybox does not close giving the error below

Uncaught TypeError: Cannot read properties of null (reading 'document') at apply_img (include.js?v=9.14.0:1:31550) at r (include.js?v=9.14.0:1:8367) at HTMLAnchorElement.<anonymous> (include.js?v=9.14.0:1:10481) at HTMLUListElement.dispatch (jquery-1.12.4.min.js:3:12444) at r.handle (jquery-1.12.4.min.js:3:9173) apply_img @ include.js?v=9.14.0:1 r @ include.js?v=9.14.0:1 (anonymous) @ include.js?v=9.14.0:1 dispatch @ jquery-1.12.4.min.js:3 r.handle @ jquery-1.12.4.min.js:3

Can anyone please help with what could be the issue? or what I am doing wrong?