Skip to content

Commit

Permalink
SITES-15335: handle id empty values input (#2571)
Browse files Browse the repository at this point in the history
Co-authored-by: bcenusa <bcenusa@adobe.com>
  • Loading branch information
cbogdan0707 and bcenusa committed Aug 16, 2023
1 parent 55a083f commit 603bf36
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -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";
Expand Down

0 comments on commit 603bf36

Please sign in to comment.