Skip to content

Commit

Permalink
fix: fix console error (#27749)
Browse files Browse the repository at this point in the history
  • Loading branch information
gortiz-dotcms committed Nov 21, 2024
1 parent aae7d18 commit 3daaead
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -651,14 +651,13 @@ define("dojox/grid/_Grid", [
},

showMessage: function(message){
if (typeof messagesNode !== undefined) {
if (message) {
this.messagesNode.innerHTML = message;
this.messagesNode.style.display = "";
} else {
this.messagesNode.innerHTML = "";
this.messagesNode.style.display = "none";
}
if (!this.messagesNode) return;
if (message) {
this.messagesNode.innerHTML = message;
this.messagesNode.style.display = "";
} else {
this.messagesNode.innerHTML = "";
this.messagesNode.style.display = "none";
}
},

Expand Down

0 comments on commit 3daaead

Please sign in to comment.