diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2019-02-14 16:24:20 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-14 16:24:20 +0300 |
commit | 6a3f4e4957eb803ed4b764f01d50727403d7a3ba (patch) | |
tree | f3a7e8772e2f4e61b751fe645408b5f47de31462 /core/js | |
parent | e65f7f05de6443bd66b1c31325cbc3cbe149d1e5 (diff) | |
parent | 08919eb19335825dc1f2cd950f9529a2b9caf29b (diff) |
Merge pull request #12652 from tomasz-grobelny/operation_progress_improvements3
Operation progress improvements
Diffstat (limited to 'core/js')
-rw-r--r-- | core/js/files/client.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/js/files/client.js b/core/js/files/client.js index 9de732b3bd4..2017becf87c 100644 --- a/core/js/files/client.js +++ b/core/js/files/client.js @@ -427,6 +427,9 @@ _getSabreException: function(response) { var result = {}; var xml = response.xhr.responseXML; + if (xml === null) { + return result; + } var messages = xml.getElementsByTagNameNS('http://sabredav.org/ns', 'message'); var exceptions = xml.getElementsByTagNameNS('http://sabredav.org/ns', 'exception'); if (messages.length) { |