mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Stop allowing search text to be tagged for select2 (#8915)
This commit is contained in:
committed by
Tony Murray
parent
66bfa4d509
commit
19cdad8a1b
@@ -124,27 +124,23 @@ var grid = $("#hostdeps").bootgrid({
|
||||
$(document).ready(function() {
|
||||
var editSelect = $('#availableparents').select2({
|
||||
dropdownParent: $('#edit-dependency'),
|
||||
width: 'resolve',
|
||||
tags: true,
|
||||
width: 'resolve'
|
||||
|
||||
});
|
||||
|
||||
var manParentDevstoClr = $('#manclearchildren').select2({
|
||||
dropdownParent: $('#manage-dependencies'),
|
||||
width: 'resolve',
|
||||
tags: true
|
||||
width: 'resolve'
|
||||
});
|
||||
|
||||
var manParentDevs = $('#manavailableparents').select2({
|
||||
dropdownParent: $('#manage-dependencies'),
|
||||
width: 'resolve',
|
||||
tags: true
|
||||
width: 'resolve'
|
||||
});
|
||||
|
||||
var manAllDevs = $('#manalldevices').select2({
|
||||
dropdownParent: $('#manage-dependencies'),
|
||||
width: 'resolve',
|
||||
tags: true
|
||||
width: 'resolve'
|
||||
});
|
||||
|
||||
$.ajax({
|
||||
|
||||
@@ -263,8 +263,7 @@ if ($updated && $update_message) {
|
||||
}
|
||||
});
|
||||
$('#parent_id').select2({
|
||||
width: 'resolve',
|
||||
tags: true,
|
||||
width: 'resolve'
|
||||
});
|
||||
</script>
|
||||
<?php
|
||||
|
||||
Reference in New Issue
Block a user