mirror of
https://github.com/nextcloud/server.git
synced 2026-06-10 17:23:59 -04:00
Merge pull request #18815 from owncloud/ext-update
Set default mount options for external storages
This commit is contained in:
commit
cacbae9d55
1 changed files with 7 additions and 0 deletions
|
|
@ -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');
|
||||
|
|
|
|||
Loading…
Reference in a new issue