summaryrefslogtreecommitdiffstats
path: root/apps/files_external/js
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-02-22 18:14:19 +0100
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-02-27 12:14:23 +0100
commit018ff68f45a56fef62b9116f84a89013458dfcec (patch)
tree16935a7e455c2616ad8a80e60d4355a3335cde8d /apps/files_external/js
parent282b79c4b1f8b1f5022f0fc842cd10477820fcec (diff)
downloadnextcloud-server-018ff68f45a56fef62b9116f84a89013458dfcec.tar.gz
nextcloud-server-018ff68f45a56fef62b9116f84a89013458dfcec.zip
Show error if no external storage configured
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/files_external/js')
-rw-r--r--apps/files_external/js/settings.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files_external/js/settings.js b/apps/files_external/js/settings.js
index cb9b7ad6822..12ad285c52b 100644
--- a/apps/files_external/js/settings.js
+++ b/apps/files_external/js/settings.js
@@ -960,6 +960,7 @@ MountConfigListView.prototype = _.extend({
if (result.length === 0 && mainForm.attr('data-can-create') === 'false') {
mainForm.hide();
$('a[href="#external-storage"]').parent().hide();
+ $('#emptycontent').show();
}
onCompletion.resolve();
}