summaryrefslogtreecommitdiffstats
path: root/apps/files_external/js/google.js
diff options
context:
space:
mode:
authorThomas Mueller <thomas.mueller@tmit.eu>2013-01-31 23:34:12 +0100
committerThomas Mueller <thomas.mueller@tmit.eu>2013-01-31 23:34:12 +0100
commitb1da1db0eb5d738d5d5e5379796c048614d2ba00 (patch)
treea0ad3610338ffc5c911554d2915ed77194957144 /apps/files_external/js/google.js
parentde00111c1f20b46814971e1e0afac37fcb5c2886 (diff)
parent317261d6dfa2b95234628c6e6649bcb94999552a (diff)
downloadnextcloud-server-b1da1db0eb5d738d5d5e5379796c048614d2ba00.tar.gz
nextcloud-server-b1da1db0eb5d738d5d5e5379796c048614d2ba00.zip
Merge branch 'master' into from_live_to_on
Conflicts: apps/files_external/js/google.js
Diffstat (limited to 'apps/files_external/js/google.js')
-rw-r--r--apps/files_external/js/google.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/files_external/js/google.js b/apps/files_external/js/google.js
index d26dc7f0014..9b7f9514f12 100644
--- a/apps/files_external/js/google.js
+++ b/apps/files_external/js/google.js
@@ -1,6 +1,6 @@
$(document).ready(function() {
- $('#externalStorage tbody tr.OC_Filestorage_Google').each(function() {
+ $('#externalStorage tbody tr.\\\\OC\\\\Files\\\\Storage\\\\Google').each(function() {
var configured = $(this).find('[data-parameter="configured"]');
if ($(configured).val() == 'true') {
$(this).find('.configuration')
@@ -34,7 +34,7 @@ $(document).ready(function() {
});
$('#externalStorage tbody').on('change', 'tr', function() {
- if ($(this).hasClass('OC_Filestorage_Google') && $(this).find('[data-parameter="configured"]').val() != 'true') {
+ if ($(this).hasClass('\\\\OC\\\\Files\\\\Storage\\\\Google') && $(this).find('[data-parameter="configured"]').val() != 'true') {
if ($(this).find('.mountPoint input').val() != '') {
if ($(this).find('.google').length == 0) {
$(this).find('.configuration').append('<a class="button google">'+t('files_external', 'Grant access')+'</a>');
@@ -45,7 +45,7 @@ $(document).ready(function() {
$('#externalStorage tbody').on('keyup', 'tr .mountPoint input', function() {
var tr = $(this).parent().parent();
- if ($(tr).hasClass('OC_Filestorage_Google') && $(tr).find('[data-parameter="configured"]').val() != 'true' && $(tr).find('.google').length > 0) {
+ if ($(tr).hasClass('\\\\OC\\\\Files\\\\Storage\\\\Google') && $(tr).find('[data-parameter="configured"]').val() != 'true' && $(tr).find('.google').length > 0) {
if ($(this).val() != '') {
$(tr).find('.google').show();
} else {