Merge pull request #18815 from owncloud/ext-update

Set default mount options for external storages
This commit is contained in:
Robin McCorkell 2015-09-03 16:05:19 +01:00
commit cacbae9d55
1 changed files with 7 additions and 0 deletions

View File

@ -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');