keep selected tab after save

change pmadb to phpMyAdmin configuration storage in warning string
This commit is contained in:
Crack
2010-07-27 22:12:53 +02:00
parent 65e0676ab4
commit ac3e9e323b
5 changed files with 12 additions and 5 deletions

View File

@@ -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() {