From 91598357dcf12948b275037af7e1576b20fe07eb Mon Sep 17 00:00:00 2001 From: Roman Kravchuk Date: Sun, 25 Nov 2018 11:27:30 +0200 Subject: [PATCH] Fix collapse on hostname with "." Fix "Error: Syntax error, unrecognized expression: [host=pc.local]" --- instances/templates/allinstances_index_grouped.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/instances/templates/allinstances_index_grouped.html b/instances/templates/allinstances_index_grouped.html index 2e129c2..6efc0c9 100644 --- a/instances/templates/allinstances_index_grouped.html +++ b/instances/templates/allinstances_index_grouped.html @@ -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"); }