Laravel-filemanager: lg is not defined

Created on 21 Aug 2016  路  9Comments  路  Source: UniSharp/laravel-filemanager

click on images causes:
laravel-filemanager:528 Uncaught ReferenceError: lg is not defined

bug done

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 .

All 9 comments

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lunadiotic picture lunadiotic  路  3Comments

intergalactisch picture intergalactisch  路  5Comments

Dzhangar1980 picture Dzhangar1980  路  4Comments

lizeshakya picture lizeshakya  路  4Comments

lukaszevo picture lukaszevo  路  4Comments