diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-02-27 13:05:01 +0100 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-02-27 13:05:39 +0100 |
commit | 6ee9a2b35bf1dee8e64b9d7b1d86766b6505b3ce (patch) | |
tree | be02e2c8a7a507db1c4a6cfb4e04902c36125d51 /apps/files_external/js | |
parent | f1634cd3e28d7b2117af5074755745015b3237e7 (diff) | |
download | nextcloud-server-6ee9a2b35bf1dee8e64b9d7b1d86766b6505b3ce.tar.gz nextcloud-server-6ee9a2b35bf1dee8e64b9d7b1d86766b6505b3ce.zip |
fixup! Fixed tests
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/files_external/js')
-rw-r--r-- | apps/files_external/js/settings.js | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/apps/files_external/js/settings.js b/apps/files_external/js/settings.js index 0550cb04d80..99ee83d8a22 100644 --- a/apps/files_external/js/settings.js +++ b/apps/files_external/js/settings.js @@ -13,26 +13,27 @@ // TODO: move to a separate file var MOUNT_OPTIONS_DROPDOWN_TEMPLATE = '<div class="popovermenu open">'+ + // FIXME: options are hard-coded for now ' <ul>'+ - ' <li>'+ + ' <li class="optionRow">'+ ' <span class="menuitem">'+ ' <input id="mountOptionsEncrypt" class="checkbox" name="encrypt" type="checkbox" value="true" checked="checked"/>'+ ' <label for="mountOptionsEncrypt">{{t "files_external" "Enable encryption"}}</label>'+ ' </span>'+ ' </li>'+ - ' <li>'+ + ' <li class="optionRow">'+ ' <span class="menuitem">'+ ' <input id="mountOptionsPreviews" class="checkbox" name="previews" type="checkbox" value="true" checked="checked"/>'+ ' <label for="mountOptionsPreviews">{{t "files_external" "Enable previews"}}</label>'+ ' </span>'+ ' </li>'+ - ' <li>'+ + ' <li class="optionRow">'+ ' <span class="menuitem">'+ ' <input id="mountOptionsSharing" class="checkbox" name="enable_sharing" type="checkbox" value="true"/>'+ ' <label for="mountOptionsSharing">{{t "files_external" "Enable sharing"}}</label>'+ ' </span>'+ ' </li>'+ - ' <li>'+ + ' <li class="optionRow">'+ ' <span class="menuitem icon-search">'+ ' <label for="mountOptionsFilesystemCheck">{{t "files_external" "Check for changes"}}</label>'+ ' <select id="mountOptionsFilesystemCheck" name="filesystem_check_changes" data-type="int">'+ @@ -41,7 +42,7 @@ var MOUNT_OPTIONS_DROPDOWN_TEMPLATE = ' </select>'+ ' </span>'+ ' </li>'+ - ' <li>'+ + ' <li class="optionRow">'+ ' <span class="menuitem">'+ ' <input id="mountOptionsEncoding" class="checkbox" name="encoding_compatibility" type="checkbox" value="true"/>'+ ' <label for="mountOptionsEncoding">{{mountOptionsEncodingLabel}}</label>'+ @@ -1303,9 +1304,9 @@ MountConfigListView.prototype = _.extend({ 'enable_sharing', 'encoding_compatibility' ]; - if (this._encryptionEnabled) { - visibleOptions.push('encrypt'); - } + // if (this._encryptionEnabled) { + // visibleOptions.push('encrypt'); + // } dropDown.show($toggle, storage.mountOptions || [], visibleOptions); $('body').on('mouseup.mountOptionsDropdown', function(event) { var $target = $(event.target); |