summaryrefslogtreecommitdiffstats
path: root/js/build/app.js
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2015-01-20 14:16:40 +0100
committerBernhard Posselt <dev@bernhard-posselt.com>2015-01-20 14:16:40 +0100
commit8f37dbf3863f4720bb05b39c29f91fd854b11f0c (patch)
tree32e47de4fa4b90e9751cee1f219537d78d30f185 /js/build/app.js
parent38350e62909f06f93902b09e9963056b1ba470f4 (diff)
also detect maintenance mode
Diffstat (limited to 'js/build/app.js')
-rw-r--r--js/build/app.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/js/build/app.js b/js/build/app.js
index f95d582c1..1c78f7cbd 100644
--- a/js/build/app.js
+++ b/js/build/app.js
@@ -55,7 +55,9 @@ app.config(["$routeProvider", "$provide", "$httpProvider", function ($routeProvi
'Try to reload the page!'),
500: t('news', 'Internal server error! Please check your ' +
'data/owncloud.log file for additional ' +
- 'information!')
+ 'information!'),
+ 503: t('news', 'Request failed, ownCloud is in currently ' +
+ 'in maintenance mode!'),
};
// status 0 is a network error
if (response.status in messages) {