Fixed: wait spinner doesn't show when running ajaxUpdateArea
Use setTimeout() after running waitSpinnerShow() to ensure wait spinner icon is displayed properly.
@@ -620,6 +620,7 @@ function ajaxUpdateArea(areaId, target, targetParams) {
return;
}
waitSpinnerShow();
+ setTimeout(function() {
jQuery.ajax({
url: target,
type: "POST",
@@ -630,6 +631,7 @@ function ajaxUpdateArea(areaId, target, targetParams) {
},
error: function(data) {waitSpinnerHide()}
});
+ }, 0);
}
/** Update multiple areas (HTML container elements).
