diff --git a/content/src/content/jcr_root/apps/core/wcm/components/commons/editor/clientlibs/htmlidvalidator/js/htmlIdValidation.js b/content/src/content/jcr_root/apps/core/wcm/components/commons/editor/clientlibs/htmlidvalidator/js/htmlIdValidation.js index 6e62c358a3..0713d3e4c8 100644 --- a/content/src/content/jcr_root/apps/core/wcm/components/commons/editor/clientlibs/htmlidvalidator/js/htmlIdValidation.js +++ b/content/src/content/jcr_root/apps/core/wcm/components/commons/editor/clientlibs/htmlidvalidator/js/htmlIdValidation.js @@ -39,8 +39,8 @@ }); var element = $(el); var currentVal = element.val(); - /* Handle dialog re-submission */ - if (currentVal === preConfiguredVal) { + /* Handle empty values or dialog re-submission */ + if (!currentVal || currentVal === preConfiguredVal) { return; } var url = pagePath + ".html?wcmmode=disabled";