diff --git a/js/config.js b/js/config.js index 882849c48..1b0ceddd4 100644 --- a/js/config.js +++ b/js/config.js @@ -498,6 +498,7 @@ function setTab(tab_id) { $('.tabs a').removeClass('active').filter('[href=' + tab_id + ']').addClass('active'); $('.tabs_contents fieldset').hide().filter(tab_id).show(); location.hash = 'tab_' + tab_id.substr(1); + $('.config-form input[name=tab_hash]').val(location.hash); } $(function() { diff --git a/libraries/config/FormDisplay.tpl.php b/libraries/config/FormDisplay.tpl.php index 20018c804..e4a39d4af 100644 --- a/libraries/config/FormDisplay.tpl.php +++ b/libraries/config/FormDisplay.tpl.php @@ -27,6 +27,7 @@ function display_form_top($action = null, $method = 'post', $hidden_fields = nul } ?>