I am using jQuery UI Sortable in my plugin and was hoping to use the one shipped with JIRA 6 (v1.8.11). Unfortunately, I have found a bug that has been fixed in a subsequent version of jQuery UI. How can I load a different version of UI without conflicting with JIRA's version or that of another plugin? I know I can use the noconflict property but has anyone done this so it saves me the headache of figuring it out?
Thanks!
Community moderators have prevented the ability to post new answers.
In case it helps other, what I finally did was to copy the sortable function of a more recent jQuery UI in another script and registered the function with another name so that it doesn't enter in conflict with the origin sortable.
(function( $, undefined ) { $.widget("ui.newsortable", $.ui.mouse, { widgetEventPrefix: "sort", ready: false, . . . }); $.extend($.ui.newsortable, { version: "1.8.24" }); })(jQuery);
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.