Remove an undeclared and useless local variable

This commit is contained in:
jvoisin 2020-04-24 18:04:27 +02:00
parent 1df82110d1
commit d8bf540db2

View File

@ -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");
} }
}); });