Skip to content
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

Incomparability UV and module JQueryUI #8

Open
m-art-in opened this issue Oct 9, 2019 · 4 comments
Open

Incomparability UV and module JQueryUI #8

m-art-in opened this issue Oct 9, 2019 · 4 comments

Comments

@m-art-in
Copy link

m-art-in commented Oct 9, 2019

I have the modules IIIFServer, UniversalViewser and JqueryUI for Omeka S installed. As soon as I want to display a simple accordion menu together with UV, the error console shows me:

$(...).accordion is not a function

As soon as I remove this line of code

echo $this->universalViewer($item);

everything works as desired and the accordion is loaded. I'm assuming that JQueryUI will be loaded twice, since UV also integrates this library. How can I prevent conflicts?

@m-art-in
Copy link
Author

m-art-in commented Oct 9, 2019

The same with other widgets, like the Tabs Widget...
Have no clue what and how to change

@rafaeluriarte
Copy link

I am having the same problem....

@m-art-in
Copy link
Author

@Daniel-KM no idea about this issue?

@Daniel-KM
Copy link
Owner

Javascript conflicts are complex issues.
In such a case, I don't include jquery ui on the pages where the viewer is. Or you may ask on the UniversalViewer/UniversalViewer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants