diff options
author | Robin McCorkell <rmccorkell@owncloud.com> | 2015-09-03 16:05:19 +0100 |
---|---|---|
committer | Robin McCorkell <rmccorkell@owncloud.com> | 2015-09-03 16:05:19 +0100 |
commit | cacbae9d5508d21be2b90391c5efd6da31efc440 (patch) | |
tree | 12e5eb6902361135a65232e134f0dc33bfcb1af8 /apps | |
parent | e54513cddda8b69fd379b0693a7f0b684f9ad2b5 (diff) | |
parent | f1e97433f7346ffcc4b0b2da45170d8ff25819ba (diff) | |
download | nextcloud-server-cacbae9d5508d21be2b90391c5efd6da31efc440.tar.gz nextcloud-server-cacbae9d5508d21be2b90391c5efd6da31efc440.zip |
Merge pull request #18815 from owncloud/ext-update
Set default mount options for external storages
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_external/js/settings.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/files_external/js/settings.js b/apps/files_external/js/settings.js index b542fe63d64..bf9981adabf 100644 --- a/apps/files_external/js/settings.js +++ b/apps/files_external/js/settings.js @@ -756,6 +756,13 @@ MountConfigListView.prototype = _.extend({ $tr.append(priorityEl); $td.children().not('[type=hidden]').first().focus(); + // FIXME default backend mount options + $tr.find('input.mountOptions').val(JSON.stringify({ + 'encrypt': true, + 'previews': true, + 'filesystem_check_changes': 1 + })); + $tr.find('td').last().attr('class', 'remove'); $tr.find('td.mountOptionsToggle').removeClass('hidden'); $tr.find('td').last().removeAttr('style'); |