Skip to content

Commit

Permalink
Fix completed step marked active when last step called directly.
Browse files Browse the repository at this point in the history
  • Loading branch information
drsdre committed Dec 3, 2015
1 parent e68379a commit d975e75
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions WizardWidget.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ public function run() {
// Add a completed step if defined
if ($this->complete_content) {
// Check if completed tab is set as start_step
$class = 'disabled';
if ($this->start_step == 'completed') {
$class = 'active';
}
Expand Down

0 comments on commit d975e75

Please sign in to comment.