diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2015-01-20 14:16:40 +0100 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2015-01-20 14:16:40 +0100 |
commit | 8f37dbf3863f4720bb05b39c29f91fd854b11f0c (patch) | |
tree | 32e47de4fa4b90e9751cee1f219537d78d30f185 /js/app | |
parent | 38350e62909f06f93902b09e9963056b1ba470f4 (diff) |
also detect maintenance mode
Diffstat (limited to 'js/app')
-rw-r--r-- | js/app/Config.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/js/app/Config.js b/js/app/Config.js index 69d12f9d2..c6c511211 100644 --- a/js/app/Config.js +++ b/js/app/Config.js @@ -57,7 +57,9 @@ app.config(function ($routeProvider, $provide, $httpProvider) { '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) { |