There was an error while loading. Please reload this page.
1 parent b903f85 commit b4df0dfCopy full SHA for b4df0df
1 file changed
assets/js/admin/settings.js
@@ -1132,12 +1132,19 @@
1132
.closest(".user-registration-global-settings--field")
1133
.find(".error.inline")
1134
.remove();
1135
+ $this
1136
+ .closest(".user-registration-global-settings")
1137
+ .append('<div class="ur-spinner is-active"></div>');
1138
1139
$.ajax({
1140
url: user_registration_settings_params.ajax_url,
1141
data: data,
1142
type: "POST",
1143
complete: function (response) {
1144
1145
1146
+ .find(".ur-spinner")
1147
+ .remove();
1148
if (response.responseJSON.success === false) {
1149
if (
1150
$this
0 commit comments