diff --git a/templates/jasset/group_edit.html b/templates/jasset/group_edit.html index 5e5f0fa76..5b1f2ba27 100644 --- a/templates/jasset/group_edit.html +++ b/templates/jasset/group_edit.html @@ -128,7 +128,7 @@ } $('#search').keyup(function() { - var $rows = $('#groups option'); + var $rows = $('#hosts option'); console.log($rows); var val = $.trim($(this).val()).replace(/ +/g, ' ').toLowerCase(); diff --git a/templates/jlog/log_online.html b/templates/jlog/log_online.html index f72bc3c73..fc352cb0f 100644 --- a/templates/jlog/log_online.html +++ b/templates/jlog/log_online.html @@ -155,7 +155,7 @@ if (option == 'new') { tag.append('

' + escapeString(obj.content) + '

'); } else if (option == 'exist') { - tag.append('

' + exsit_message + '

'); + tag.append('' + exsit_message + ''); } tag.animate({ scrollTop: tag[0].scrollHeight}, 1); });