summaryrefslogtreecommitdiffstats
path: root/apps/files_external/js/settings.js
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_external/js/settings.js')
-rw-r--r--apps/files_external/js/settings.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/apps/files_external/js/settings.js b/apps/files_external/js/settings.js
index 3152c644b32..e16944eaa19 100644
--- a/apps/files_external/js/settings.js
+++ b/apps/files_external/js/settings.js
@@ -790,8 +790,11 @@ MountConfigListView.prototype = _.extend({
if (storageConfig.backendOptions) {
$td.children().each(function() {
var input = $(this);
- input.val(storageConfig.backendOptions[input.data('parameter')]);
- highlightInput(input);
+ var val = storageConfig.backendOptions[input.data('parameter')];
+ if (val !== undefined) {
+ input.val(storageConfig.backendOptions[input.data('parameter')]);
+ highlightInput(input);
+ }
});
}