summaryrefslogtreecommitdiffstats
path: root/apps/files_external/js/dropbox.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/dropbox.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/dropbox.js')
-rw-r--r--apps/files_external/js/dropbox.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_external/js/dropbox.js b/apps/files_external/js/dropbox.js
index c1e38640708..a9a3155e677 100644
--- a/apps/files_external/js/dropbox.js
+++ b/apps/files_external/js/dropbox.js
@@ -1,6 +1,6 @@
$(document).ready(function() {
- $('#externalStorage tbody tr.OC_Filestorage_Dropbox').each(function() {
+ $('#externalStorage tbody tr.\\\\OC\\\\Files\\\\Storage\\\\Dropbox').each(function() {
var configured = $(this).find('[data-parameter="configured"]');
if ($(configured).val() == 'true') {
$(this).find('.configuration input').attr('disabled', 'disabled');
@@ -38,7 +38,7 @@ $(document).ready(function() {
$('#externalStorage tbody tr input').live('keyup', function() {
var tr = $(this).parent().parent();
- if ($(tr).hasClass('OC_Filestorage_Dropbox') && $(tr).find('[data-parameter="configured"]').val() != 'true') {
+ if ($(tr).hasClass('\\\\OC\\\\Files\\\\Storage\\\\Dropbox') && $(tr).find('[data-parameter="configured"]').val() != 'true') {
var config = $(tr).find('.configuration');
if ($(tr).find('.mountPoint input').val() != '' && $(config).find('[data-parameter="app_key"]').val() != '' && $(config).find('[data-parameter="app_secret"]').val() != '') {
if ($(tr).find('.dropbox').length == 0) {