Fix collapse on hostname with "."

Fix "Error: Syntax error, unrecognized expression: [host=pc.local]"
This commit is contained in:
Roman Kravchuk
2018-11-25 11:27:30 +02:00
committed by GitHub
parent cd940c99e5
commit 91598357dc

View File

@@ -127,7 +127,7 @@
function hide_host_instances(host) {
var rows = $('table tr');
host_rows = rows.filter('[host='+host+']');
host_rows = rows.filter("[host='"+host+"']");
host_rows.toggle();
$('span#collapse_host_instances_'+host).toggleClass("glyphicon-chevron-down").toggleClass("glyphicon-chevron-up");
}