diff --git a/cps/static/js/main.js b/cps/static/js/main.js index 5738f36e..23ca69fd 100644 --- a/cps/static/js/main.js +++ b/cps/static/js/main.js @@ -211,8 +211,7 @@ $(function() { data: {"parameter":2}, success: function success(data) { $("#spinner2").hide(); - ResultText = data.text; - $("#DialogContent").html(ResultText); + $("#DialogContent").html(data.text); $("#DialogFinished").removeClass("hidden"); } }); @@ -311,8 +310,7 @@ $(function() { url: path + "/../../import_ldap_users", success: function success(data) { $("#spinner2").hide(); - ResultText = data.text; - $("#DialogContent").html(ResultText); + $("#DialogContent").html(data.text); $("#DialogFinished").removeClass("hidden"); } });