Skip to content

Commit

Permalink
SITES-15335: handle id empty values input (adobe#2571)
Browse files Browse the repository at this point in the history
Co-authored-by: bcenusa <[email protected]>
  • Loading branch information
cbogdan0707 and bcenusa authored Aug 16, 2023
1 parent 55a083f commit 603bf36
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
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.