hash links

This commit is contained in:
Frank Schubert
2021-07-13 19:31:22 +02:00
parent 5c99e8008e
commit 30e29eb8c2
4 changed files with 677 additions and 5 deletions
+3 -2
View File
@@ -250,8 +250,9 @@
toggleNetwork(network);
}
match = hash.match(/view=([^&]+)/);
if(match && match[1] == "roles" && network) {
$('a[href="#net-detail-' + network + '-roles"]').tab('show');
if(match && match[1] && network) {
view = match[1];
$('a[href="#net-detail-' + network + '-' + view + '"]').tab('show');
}