1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2024-12-24 15:15:22 +00:00

add filter bar to 'add disk' dropdown. Limit the size of dropdown list.

This commit is contained in:
catborise 2018-10-31 17:07:39 +03:00
parent 69be623eeb
commit fab3b2891f

View file

@ -540,6 +540,9 @@
$(document).ready(function () { $(document).ready(function () {
$('#image-control').multiselect({ $('#image-control').multiselect({
enableCaseInsensitiveFiltering: true,
maxHeight: 400,
inheritClass: true,
buttonText: function (options, select) { buttonText: function (options, select) {
return 'Add image <b class="caret"></b>'; return 'Add image <b class="caret"></b>';
}, },