set proper active pane after saving configuration

This commit is contained in:
Uwe Steinmann 2015-04-16 08:11:05 +02:00
parent 6481d230a6
commit e91ce9d632

View File

@ -72,7 +72,7 @@ if(!is_writeable($settings->_configFilePath)) {
</ul>
<div class="tab-content">
<div class="tab-pane active" id="site">
<div class="tab-pane <?php if(!$currenttab || $currenttab == 'site') echo 'active'; ?>" id="site">
<?php $this->contentContainerStart(); ?>
<table class="table-condensed">
<!--
@ -255,7 +255,7 @@ if(!is_writeable($settings->_configFilePath)) {
<?php $this->contentContainerEnd(); ?>
</div>
<div class="tab-pane" id="system">
<div class="tab-pane <?php if($currenttab == 'system') echo 'active'; ?>" id="system">
<?php $this->contentContainerStart(); ?>
<table class="table-condensed">
<!--
@ -433,7 +433,7 @@ if(!is_writeable($settings->_configFilePath)) {
<?php $this->contentContainerEnd(); ?>
</div>
<div class="tab-pane" id="advanced">
<div class="tab-pane <?php if($currenttab == 'advanced') echo 'active'; ?>" id="advanced">
<?php $this->contentContainerStart(); ?>
<table class="table-condensed">
<!--