diff options
| -rw-r--r-- | install/ui/src/freeipa/rpc.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/install/ui/src/freeipa/rpc.js b/install/ui/src/freeipa/rpc.js index 2eed6cc87..f3cc48cd4 100644 --- a/install/ui/src/freeipa/rpc.js +++ b/install/ui/src/freeipa/rpc.js @@ -636,7 +636,8 @@ rpc.batch_command = function(spec) { if (!result) { name = text.get('@i18n:errors.internal_error', 'Internal Error')+' '+xhr.status; - message = result ? xhr.statusText : text.get('@i18n:errors.internal_error', 'Internal Error'); + message = xhr ? xhr.statusText : + text.get('@i18n:errors.internal_error', 'Internal Error'); that.errors.add(command, name, message, text_status); |
