diff options
author | Robin McCorkell <rmccorkell@owncloud.com> | 2015-09-03 14:57:14 +0100 |
---|---|---|
committer | Robin McCorkell <rmccorkell@owncloud.com> | 2015-09-03 14:57:14 +0100 |
commit | f1e97433f7346ffcc4b0b2da45170d8ff25819ba (patch) | |
tree | f784fce96425b8533fb47ee466f950bfcdadc2b2 /apps | |
parent | e9e42fff61a922f11a3b1014d810562537950b6a (diff) | |
download | nextcloud-server-f1e97433f7346ffcc4b0b2da45170d8ff25819ba.tar.gz nextcloud-server-f1e97433f7346ffcc4b0b2da45170d8ff25819ba.zip |
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'); |