fixes #3782 Script error raising When I try to save edit step widnow
Merge pull request #3785 from dotCMS/issue-3782-script-error-raising-when-try-to-save-edit-step-widnow

fixes #3782 Script error raising When I try to save edit step widnow