-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue calling elfinder in JQuery dialog #1619
Comments
I can confirm another issue. After I close jQuery dialog and in |
Hello Nao Pon, of course, here it is
We attach the elFinder instance to object data to ensure unique relation in case we'd use many finders. Please note that it works in certain forms but not in others. Opening the dialog without invoking elfinder (put it in remarks ), the dialog stays empty... Best regards |
@Yves-K How many instance of elFinder? Is this is all at the same time of the instance is generated on loaded the page? |
@nao-pon In this test we jus have one instance Found a clue as mootols (yes there is still some mootols in J backOffice) is called as we create the elFinder instance and this is the loaded page url ! This mootols is not called if we remark creating the elFinder instance The full stack of calls is :
|
Just to confirm about Mootools and creating an instance of elFinder : Mootools IS NOT loaded = works like a charm And, yes, mootools is loaded AFTER jQuery !!! (we will try to work on this) |
My code is like this:
|
@standus I found a bug in current nightly. That is enbug of @0360abe29d2e4dbbb7dbefaa370b3706ee522270. I'll fix it. |
@Yves-K Are you using elfinder.full.js or elfinder.min.js? If not, please try it. OR... How is it? (function($) {
var instance = object.elfinder(options).elfinder('instance');
})(jQuery); |
@nao-pon An this solves the name conflict with Mootools => elFinder works then perfectly How can we help any futher ? Best regards |
@Yves-K Did you get what is problem of these lines? |
@standus I fixed enbug of @0360abe29d2e4dbbb7dbefaa370b3706ee522270. Would you try & check with latest nightly? |
Looks that my bug is solved but another new bug starting. |
@standus Please see #1608 (comment). |
Looks OK now. Thank you. |
@nao-pon Hello, In fact we just commented self.trigger('load'); This caused the problem with Mootools. on('load') seems only used in (12131)
Perhaps a simple function could do the job ? |
@Yves-K I replaced |
Hello,
First thank you very much for this wonderfull tool...
We integrate elfinder in a jQuery dialog and it works like a charm... most of the times
Our intregration is in a Joomla! backoffice custom field
Current files are listed on a div,
By clicking on the div
=> opens a new ui.dialog with an empty div in
=> creates a elfinder instance ($div.elfinder(options))
elfinder is always loaded correctly but sometimes the root page displays just after !
any ideas ?
Best reagards
The text was updated successfully, but these errors were encountered: