mirror of https://github.com/jumpserver/jumpserver
bug
parent
99293cc019
commit
e72e30bc4e
|
@ -128,7 +128,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
$('#search').keyup(function() {
|
$('#search').keyup(function() {
|
||||||
var $rows = $('#groups option');
|
var $rows = $('#hosts option');
|
||||||
console.log($rows);
|
console.log($rows);
|
||||||
var val = $.trim($(this).val()).replace(/ +/g, ' ').toLowerCase();
|
var val = $.trim($(this).val()).replace(/ +/g, ' ').toLowerCase();
|
||||||
|
|
||||||
|
|
|
@ -155,7 +155,7 @@
|
||||||
if (option == 'new') {
|
if (option == 'new') {
|
||||||
tag.append('<p style="margin: 2px">' + escapeString(obj.content) + '</p>');
|
tag.append('<p style="margin: 2px">' + escapeString(obj.content) + '</p>');
|
||||||
} else if (option == 'exist') {
|
} else if (option == 'exist') {
|
||||||
tag.append('<p style="margin: 0">' + exsit_message + '</p>');
|
tag.append('<span style="margin: 0">' + exsit_message + '</span>');
|
||||||
}
|
}
|
||||||
tag.animate({ scrollTop: tag[0].scrollHeight}, 1);
|
tag.animate({ scrollTop: tag[0].scrollHeight}, 1);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue