From c5ce14c83ac6c00f2db9d1b43273c25b8282c873 Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Wed, 3 Aug 2011 15:26:54 -0500 Subject: Fixed error after login on IE The IE does not resend the request body during negotiation, so after after a successful authentication the server could not find the JSON request to parse. The Web UI has been modified to detect this error and resend the initialization request. Ticket #1540 --- install/ui/host.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'install/ui/host.js') diff --git a/install/ui/host.js b/install/ui/host.js index 743196b08..3ffcba34b 100644 --- a/install/ui/host.js +++ b/install/ui/host.js @@ -138,6 +138,7 @@ IPA.host_adder_dialog = function(spec) that.on_error = function(xhr, text_status, error_thrown) { + var ajax = this; var command = that.command; var data = error_thrown.data; var dialog = null; @@ -152,7 +153,7 @@ IPA.host_adder_dialog = function(spec) fqdn: that.get_field('fqdn').save() } }; - command.on_success(data, text_status, xhr); + command.on_success.call(ajax, data, text_status, xhr); } }); } else { -- cgit