click on images causes:
laravel-filemanager:528 Uncaught ReferenceError: lg is not defined
Please post your screenshots here, thanks.
script.blade.php line 389: $.prompt(lg.fck_select_integration);
Are you using the standalone button? I have encountered this error in that situation. In my scenario, after I initialized the button with $('#lfm').filemanager('image'); the error disappeared.
Here's what I had in my view:
Browse
$('#lfm').filemanager('image');
Hello,
I have exactly the same issue, i cannot view the file.
ReferenceError: lg is not defined when i click on the file name.
Tested on Firefox and Chrome.
How to fix it ?
I don't know how to fix problem, I decided to use laravel built in file manager :(
@bbryan0904 Did you integrate the standalone button successfully?
I have remove that script, since the situation seems to happen when integrating with FckEditor(depreciated version of CKEditor).
I want to know exactly how the error happened.
Updated : I figured this out!
This error happens when no WYSIWYG editor is found.
For example, open a new tap and type in the route of file manager will then show the error.
It will be solved in v1.6.2 .
v1.6.2 were release today.
Close issue for now.
Most helpful comment
Updated : I figured this out!
This error happens when no WYSIWYG editor is found.
For example, open a new tap and type in the route of file manager will then show the error.
It will be solved in v1.6.2 .