Commit 54c5f067 by Kálmán Viktor

dashboard: change location hash on tab clicks in vm detail

parent b81eb721
......@@ -34,7 +34,11 @@ $(function () {
$(':input[title]').tooltip({trigger: 'focus', placement: 'auto right'});
$('[data-toggle="pill"]').click(function() {
window.location.hash = $(this).attr('href');
if (window.location.hash)
$("a[href=" + window.location.hash +"]").tab('show');
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