1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2024-11-01 03:54:15 +00:00

add chevron-toggle to collapse_all on grouped_index

This commit is contained in:
catborise 2018-11-14 14:39:18 +03:00
parent 45c3f9b176
commit 4eda0fb866

View file

@ -128,6 +128,7 @@ function hide_all_host_instances() {
var rows = $('table tr'); var rows = $('table tr');
all_host_rows = rows.filter('[host]'); all_host_rows = rows.filter('[host]');
all_host_rows.toggle(); all_host_rows.toggle();
$('span[id^=collapse_host_instances_]').toggleClass("glyphicon-chevron-down").toggleClass("glyphicon-chevron-up");
} }
function hide_host_instances(host) { function hide_host_instances(host) {
var rows = $('table tr'); var rows = $('table tr');