1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2024-12-24 23:25:24 +00:00

Merge pull request #206 from krp-kp/master

Fix collapse on hostname with "."
This commit is contained in:
Anatoliy Guskov 2018-11-25 12:12:15 +02:00 committed by GitHub
commit c04596f078
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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