diff --git a/var/httpd/htdocs/js/Core.AJAX.js b/var/httpd/htdocs/js/Core.AJAX.js index db2a7a917c..2e69d72259 100644 --- a/var/httpd/htdocs/js/Core.AJAX.js +++ b/var/httpd/htdocs/js/Core.AJAX.js @@ -757,7 +757,7 @@ Core.AJAX = (function (TargetNS) { }); } else { - $('.FormUpdate').each(function(Index, Element) { + $('.FormUpdate:not([name="' + ChangedElement + '"])').each(function(Index, Element) { ToggleAJAXLoader($(Element).attr('id'), true); }); } @@ -793,7 +793,7 @@ Core.AJAX = (function (TargetNS) { }); } else { - $('.FormUpdate').each(function(Index, Element) { + $('.FormUpdate:not([name=' + ChangedElement + '])').each(function(Index, Element) { ToggleAJAXLoader($(Element).attr('id'), false); }); } diff --git a/var/httpd/htdocs/js/Core.UI.InputFields.js b/var/httpd/htdocs/js/Core.UI.InputFields.js index c61143a7e4..efd31a5d90 100644 --- a/var/httpd/htdocs/js/Core.UI.InputFields.js +++ b/var/httpd/htdocs/js/Core.UI.InputFields.js @@ -310,9 +310,9 @@ Core.UI.InputFields = (function (TargetNS) { } // initialize FormUpdate fields - $('.IsFormUpdate').each(function(Index, Element) { + $('.FormUpdate').each(function(Index, Element) { $(this).off('change').on('change', function () { - Core.AJAX.FormUpdate($(this).parents('form'), 'AJAXUpdate', undefined, $(this).attr('name')); + Core.AJAX.FormUpdate($(this).parents('form'), 'AJAXUpdate', $(this).attr('name'), undefined); }); }); };