Remove an undeclared and useless local variable

pull/1327/head
jvoisin 5 years ago
parent 1df82110d1
commit d8bf540db2

@ -211,8 +211,7 @@ $(function() {
data: {"parameter":2}, data: {"parameter":2},
success: function success(data) { success: function success(data) {
$("#spinner2").hide(); $("#spinner2").hide();
ResultText = data.text; $("#DialogContent").html(data.text);
$("#DialogContent").html(ResultText);
$("#DialogFinished").removeClass("hidden"); $("#DialogFinished").removeClass("hidden");
} }
}); });
@ -311,8 +310,7 @@ $(function() {
url: path + "/../../import_ldap_users", url: path + "/../../import_ldap_users",
success: function success(data) { success: function success(data) {
$("#spinner2").hide(); $("#spinner2").hide();
ResultText = data.text; $("#DialogContent").html(data.text);
$("#DialogContent").html(ResultText);
$("#DialogFinished").removeClass("hidden"); $("#DialogFinished").removeClass("hidden");
} }
}); });

Loading…
Cancel
Save