mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
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
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user