summaryrefslogtreecommitdiffstats
path: root/apps/files_external/js/settings.js
diff options
context:
space:
mode:
authorMichael Gapczynski <mtgap@owncloud.com>2013-01-21 23:57:26 -0500
committerMichael Gapczynski <mtgap@owncloud.com>2013-01-21 23:57:26 -0500
commite666ce3622bed37ba6d9327aeecdf4a96dc7f5f4 (patch)
tree56bd076c2b2bc7b2b80f84fe9c05f9aa68e63016 /apps/files_external/js/settings.js
parentf2d0eeae830158326f2e60747ca753ba9929c80e (diff)
downloadnextcloud-server-e666ce3622bed37ba6d9327aeecdf4a96dc7f5f4.tar.gz
nextcloud-server-e666ce3622bed37ba6d9327aeecdf4a96dc7f5f4.zip
Fix external storage UI for new storage namespaces
Diffstat (limited to 'apps/files_external/js/settings.js')
-rw-r--r--apps/files_external/js/settings.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_external/js/settings.js b/apps/files_external/js/settings.js
index 0dc983ca8ad..6cbc2180084 100644
--- a/apps/files_external/js/settings.js
+++ b/apps/files_external/js/settings.js
@@ -100,7 +100,7 @@ $(document).ready(function() {
td.append('<input type="text" data-parameter="'+parameter+'" placeholder="'+placeholder+'" />');
}
});
- if (parameters['custom'] && $('#externalStorage tbody tr.'+backendClass).length == 1) {
+ if (parameters['custom'] && $('#externalStorage tbody tr.'+backendClass.replace(/\\/g, '\\\\')).length == 1) {
OC.addScript('files_external', parameters['custom']);
}
return false;