Skip to content

Commit

Permalink
SITES-15335: handle id empty values input
Browse files Browse the repository at this point in the history
  • Loading branch information
bcenusa committed Aug 14, 2023
1 parent 55a083f commit 466271f
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 466271f

Please sign in to comment.