summaryrefslogtreecommitdiffstats
path: root/apps/federatedfilesharing
diff options
context:
space:
mode:
authorChristopher Ng <chrng8@gmail.com>2023-04-12 21:21:15 -0700
committerChristopher Ng <chrng8@gmail.com>2023-04-12 21:21:15 -0700
commit3b94da9c1d9869db35cf8b33da82119d93c1402f (patch)
tree0e12bc21ad8d817c41fe4ce076afc8cc0b46a63b /apps/federatedfilesharing
parentb1abc57c07a61b5a0557395d86c3e31486a96c23 (diff)
downloadnextcloud-server-3b94da9c1d9869db35cf8b33da82119d93c1402f.tar.gz
nextcloud-server-3b94da9c1d9869db35cf8b33da82119d93c1402f.zip
Fix button text
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Diffstat (limited to 'apps/federatedfilesharing')
-rw-r--r--apps/federatedfilesharing/js/external.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/federatedfilesharing/js/external.js b/apps/federatedfilesharing/js/external.js
index 577fed21bac..ecec4d038b2 100644
--- a/apps/federatedfilesharing/js/external.js
+++ b/apps/federatedfilesharing/js/external.js
@@ -65,8 +65,8 @@
var $buttons = $dialog.find('button');
// hack the buttons
$dialog.find('.ui-icon').remove();
- $buttons.eq(0).text(t('core', 'Cancel'));
- $buttons.eq(1).text(t('files_sharing', 'Add remote share'));
+ $buttons.eq(1).text(t('core', 'Cancel'));
+ $buttons.eq(2).text(t('files_sharing', 'Add remote share'));
};
OCA.Sharing.ExternalShareDialogPlugin = {