Merge pull request #18815 from owncloud/ext-update
Set default mount options for external storages
This commit is contained in:
commit
cacbae9d55
|
@ -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 New Issue