summaryrefslogtreecommitdiffstats
path: root/apps/files_external/js
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2015-04-02 18:31:26 +0200
committerRobin Appelman <icewind@owncloud.com>2015-04-02 18:31:26 +0200
commit519d5688478d44de83ab4997b790c8e7c6371a10 (patch)
tree0fd9d168f72c60d05e3079a0b4ae25785c37e2f7 /apps/files_external/js
parent10b85871cc05918c795c57300edca219282daec1 (diff)
downloadnextcloud-server-519d5688478d44de83ab4997b790c8e7c6371a10.tar.gz
nextcloud-server-519d5688478d44de83ab4997b790c8e7c6371a10.zip
add unit test
Diffstat (limited to 'apps/files_external/js')
-rw-r--r--apps/files_external/js/settings.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/files_external/js/settings.js b/apps/files_external/js/settings.js
index 6854b40e87d..1dae64216e1 100644
--- a/apps/files_external/js/settings.js
+++ b/apps/files_external/js/settings.js
@@ -509,6 +509,8 @@ MountOptionsDropdown.prototype = {
var optionId = $row.find('input, select').attr('name');
if (enabledOptions.indexOf(optionId) === -1) {
$row.hide();
+ } else {
+ $row.show();
}
});
}