Commit 0a4ecb0f by Kálmán Viktor

dashboard: handle ipv4/ipv6 hash tags in vm detail

parent 0e19b58b
......@@ -41,8 +41,11 @@ $(function () {
window.location.hash = $(this).attr('href');
});
if (window.location.hash)
if (window.location.hash) {
if(window.location.hash.substring(1,4) == "ipv")
$("a[href=#network]").tab('show');
$("a[href=" + window.location.hash +"]").tab('show');
}
/* scroll to top if there is a message */
if($(".messagelist").children(".alert").length > 0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment