Elfinder: Browser extension conflicting with ElFinder

Created on 19 Dec 2017  路  3Comments  路  Source: Studio-42/elFinder

This issue has been documented in another thread on the Backpack for Laravel repository: https://github.com/Laravel-Backpack/CRUD/issues/389

When opening the ElFinder, I receive the following error in the console: elfinder debug: [error] [elfinder] Unable to open "#".<br>Folder not found. Upon inspection, I've found the problem.

On the line 3895 of elFinder.js, there is an event bound on the window called message which call an additional request. When calling a new request, it aborts current requests of type open.

Now, some extensions installed on Chrome, Grammarly in my case, can cause problems. That extension was triggering the event message on page load, aborting the initial request of elFinder. When it was doing the .sync, the target param sent in get was empty, causing the error.

Now, the fix was easy, disabling the extension solved everything, but it is not practical. Would using a less generic name or a prefix instead of a namespace for the event be possible? It would solve that problem at least.

client bug

Most helpful comment

@kagagnon Probably, it was fixed on 08f801abb95872600536a3d4d89fcde3ea82e749. Please check with nightly build.

All 3 comments

@kagagnon This is a elFinder's bug. so I'll fix it.

Thanks! 馃憤

@kagagnon Probably, it was fixed on 08f801abb95872600536a3d4d89fcde3ea82e749. Please check with nightly build.

It indeed is fixed, great work!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

toastbrotch picture toastbrotch  路  13Comments

bitbybit picture bitbybit  路  13Comments

Mozhdeh-d picture Mozhdeh-d  路  14Comments

richard100589 picture richard100589  路  13Comments

philouphil picture philouphil  路  17Comments