
template.js.plugins.ui.multiselect.min.js Maven / Gradle / Ivy
/*
jQuery UI Multiselect
Authors:
Michael Aufreiter (quasipartikel.at)
Yanick Rochon (yanick.rochon[at]gmail[dot]com)
Dual licensed under the MIT (MIT-LICENSE.txt)
and GPL (GPL-LICENSE.txt) licenses.
http://www.quasipartikel.at/multiselect/
UPDATED by Oleg Kiriljuk ([email protected]) to support jQuery 1.6 and hight
(the usage of jQuery.attr and jQuery.removeAttr is replaced to the usage of jQuery.prop
in case of working with selected options of select)
Depends:
ui.core.js
ui.sortable.js
Optional:
localization (http://plugins.jquery.com/project/localisation)
scrollTo (http://plugins.jquery.com/project/ScrollTo)
Todo:
Make batch actions faster
Implement dynamic insertion through remote calls
*/
'use strict';(function(c){"function"===typeof define&&define.amd?define(["jquery","jquery-ui/sortable"],c):"object"===typeof module&&module.exports?module.exports=function(a,b){void 0===b&&(b="undefined"!==typeof window?require("jquery"):require("jquery")(a||window));require("jquery-ui/sortable");c(b);return b}:c(jQuery)})(function(c){c.widget("ui.multiselect",{options:{sortable:!0,searchable:!0,doubleClickable:!0,animated:"fast",show:"slideDown",hide:"slideUp",dividerLocation:.6,availableFirst:!1,
nodeComparator:function(a,b){a=a.text();b=b.text();return a==b?0:a
© 2015 - 2025 Weber Informatics LLC | Privacy Policy