Fixes disappearing automember expressions

https://fedorahosted.org/freeipa/ticket/5353

Reviewed-By: Tomas Babej <tbabej@redhat.com>
This commit is contained in:
Stanislav Laznicka 2015-10-09 13:32:33 +02:00 committed by Martin Basti
parent 16261adc58
commit 9d562038ad

View File

@ -516,7 +516,8 @@ IPA.automember.condition_widget = function(spec) {
var i = results.length - 1;
while (i >= 0) {
if (results[i].completed === 1){
that.reload_facet({ result: results[i] });
that.reload_facet({ error: results[i].error, id: null,
result: results[i] });
return;
}
i--;
@ -776,4 +777,4 @@ exp.register = function() {
phases.on('registration', exp.register);
return exp;
});
});