diff --git a/src/wizard/examples/wizard.js b/src/wizard/examples/wizard.js index e5d26343e..20317bc8d 100644 --- a/src/wizard/examples/wizard.js +++ b/src/wizard/examples/wizard.js @@ -53,7 +53,7 @@ ctrl.selectedStep.stepPriority)); @@ -215,6 +216,7 @@ angular.module('patternfly.wizard').component('pfWizard', { ctrl.stepClick = function (step) { if (step.allowClickNav && + ctrl.selectedStep && !ctrl.wizardDone && ctrl.selectedStep.okToNavAway && (ctrl.selectedStep.nextEnabled || (step.stepPriority < ctrl.selectedStep.stepPriority)) &&