diff --git a/js/jquery.form.wizard.js b/js/jquery.form.wizard.js index 38a36dc..efddf77 100644 --- a/js/jquery.form.wizard.js +++ b/js/jquery.form.wizard.js @@ -146,6 +146,10 @@ }, _next : function(){ + if(this.nextButton.attr('disabled')){ + return false; + } + if(this.options.validationEnabled){ if(!this.element.valid()){ this.element.validate().focusInvalid(); @@ -190,6 +194,10 @@ _back : function(){ if(this.activatedSteps.length > 0){ + if(this.backButton.attr('disabled')){ + return false; + } + if(this.options.historyEnabled){ this._updateHistory(this.activatedSteps[this.activatedSteps.length - 2]); }else{