moving to roles again after saving
This commit is contained in:
@@ -241,6 +241,22 @@
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
var network;
|
||||
var hash = window.location.hash.substr(1);
|
||||
var match = hash.match(/net=(\d+)/);
|
||||
if(match && match[1]) {
|
||||
network = match[1]
|
||||
toggleNetwork(network);
|
||||
}
|
||||
match = hash.match(/view=([^&]+)/);
|
||||
if(match && match[1] == "roles" && network) {
|
||||
$('a[href="#net-detail-' + network + '-roles"]').tab('show');
|
||||
}
|
||||
|
||||
|
||||
//window.location.hash = "";
|
||||
|
||||
</script>
|
||||
|
||||
<?php include(realpath(dirname(__FILE__)."/../")."/footer.php"); ?>
|
||||
Reference in New Issue
Block a user