summaryrefslogtreecommitdiffstats
path: root/install/ui/host.js
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2011-08-03 15:26:54 -0500
committerEndi S. Dewata <edewata@redhat.com>2011-08-09 14:04:06 +0000
commitc5ce14c83ac6c00f2db9d1b43273c25b8282c873 (patch)
tree972e72890e3c503b1de719ff3e0f28d13a8d5a69 /install/ui/host.js
parent8edd7ed99874f114ec6ca6abbbdd4b91025211df (diff)
downloadfreeipa-c5ce14c83ac6c00f2db9d1b43273c25b8282c873.tar.gz
freeipa-c5ce14c83ac6c00f2db9d1b43273c25b8282c873.tar.xz
freeipa-c5ce14c83ac6c00f2db9d1b43273c25b8282c873.zip
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
Diffstat (limited to 'install/ui/host.js')
-rw-r--r--install/ui/host.js3
1 files changed, 2 insertions, 1 deletions
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 {