Set default mount options for external storages
This commit is contained in:
parent
e9e42fff61
commit
f1e97433f7
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