diff --git a/js/wizardhelper.js b/js/wizardhelper.js index e6e4b0c31..5877e7562 100644 --- a/js/wizardhelper.js +++ b/js/wizardhelper.js @@ -261,7 +261,7 @@ function WizardHelper(sClass, sFormPrefix, sState, sInitialState, sStimulus) { index++; } - if($('.blockUI').length > 0) { + if ((fieldForm !== null) && ($('.blockUI').length > 0)) { fieldForm.find('button[type=submit]:not(:disabled)').prop("disabled", true).addClass('disabledDuringFieldLoading'); }