Hi there,
For some reason we need to use latest version of jQuery and jQuery UI libraries, but unfortunately for this we need to change a some files in core. So do you planning to update jQuery libraries in a newest versions of Elgg? And also may be need to add possibility to override version of jQuery from plugins!?
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
Anybody else having problems using the latest jQuery with Elgg 1.8? I'm using this https://github.com/mapkyca/elgg-jquery but using it disables Elgg's drop down feature.
Elgg's js uses deprecated .live() methods that are removed in the most recent jquery. If you want to upgrade jquery beyond where .live() is available you need to upgrade everything to use the .on() delegation
I see, thanks Matt. Looks like I won't be using drop downs for now.
Probably worth reporting this on github and getting this fixed in core, yes? Anybody want to volunteer for either of those tasks?
Take a look at hypeThemeX, it uses a higher version of jQuery with jQuery Migrate (in silent mode), so Elgg's JS libs run without issues.
As a temporary solution you can try jquery migrate plugin which supports the deprecated APIs.
https://github.com/jquery/jquery-migrate/
Already raised a ticket for this @ https://github.com/Elgg/Elgg/issues/6679
Here's the code that works for me using the latest jQuery CDN, even the dropdown works now.
- Previous
- 1
- 2
- Next
You must log in to post replies.