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() {
|
$(document).ready(function() {
|
||||||
var editSelect = $('#availableparents').select2({
|
var editSelect = $('#availableparents').select2({
|
||||||
dropdownParent: $('#edit-dependency'),
|
dropdownParent: $('#edit-dependency'),
|
||||||
width: 'resolve',
|
width: 'resolve'
|
||||||
tags: true,
|
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
var manParentDevstoClr = $('#manclearchildren').select2({
|
var manParentDevstoClr = $('#manclearchildren').select2({
|
||||||
dropdownParent: $('#manage-dependencies'),
|
dropdownParent: $('#manage-dependencies'),
|
||||||
width: 'resolve',
|
width: 'resolve'
|
||||||
tags: true
|
|
||||||
});
|
});
|
||||||
|
|
||||||
var manParentDevs = $('#manavailableparents').select2({
|
var manParentDevs = $('#manavailableparents').select2({
|
||||||
dropdownParent: $('#manage-dependencies'),
|
dropdownParent: $('#manage-dependencies'),
|
||||||
width: 'resolve',
|
width: 'resolve'
|
||||||
tags: true
|
|
||||||
});
|
});
|
||||||
|
|
||||||
var manAllDevs = $('#manalldevices').select2({
|
var manAllDevs = $('#manalldevices').select2({
|
||||||
dropdownParent: $('#manage-dependencies'),
|
dropdownParent: $('#manage-dependencies'),
|
||||||
width: 'resolve',
|
width: 'resolve'
|
||||||
tags: true
|
|
||||||
});
|
});
|
||||||
|
|
||||||
$.ajax({
|
$.ajax({
|
||||||
|
|||||||
@@ -263,8 +263,7 @@ if ($updated && $update_message) {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
$('#parent_id').select2({
|
$('#parent_id').select2({
|
||||||
width: 'resolve',
|
width: 'resolve'
|
||||||
tags: true,
|
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
<?php
|
<?php
|
||||||
|
|||||||
Reference in New Issue
Block a user