Skip to content

Commit

Permalink
Update utilities.js
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastian-marinescu authored and opengeek committed May 23, 2023
1 parent 3cb73c0 commit 24d4e08
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions manager/assets/modext/util/utilities.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,7 @@ Ext.override(Ext.form.NumberField, {
Ext.override(Ext.form.BasicForm,{
clearDirty : function(nodeToRecurse){
nodeToRecurse = nodeToRecurse || this;
if (!nodeToRecurse || !nodeToRecurse.items || typeof nodeToRecurse.items.each !== 'function') {
return;
}
nodeToRecurse.items.each(function(f){
nodeToRecurse?.items?.each?.(function(f){
if (!f.getValue) return;

if(f.items){
Expand Down

0 comments on commit 24d4e08

Please sign in to comment.