summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <213943+nickvergessen@users.noreply.github.com>2023-04-13 09:54:32 +0200
committerGitHub <noreply@github.com>2023-04-13 09:54:32 +0200
commita1823be3ec24a2ac29c3958b2be2456d50fdd3e0 (patch)
tree0e12bc21ad8d817c41fe4ce076afc8cc0b46a63b
parentb1abc57c07a61b5a0557395d86c3e31486a96c23 (diff)
parent3b94da9c1d9869db35cf8b33da82119d93c1402f (diff)
downloadnextcloud-server-a1823be3ec24a2ac29c3958b2be2456d50fdd3e0.tar.gz
nextcloud-server-a1823be3ec24a2ac29c3958b2be2456d50fdd3e0.zip
Merge pull request #37697 from nextcloud/fix/button-text
Fix button text
-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 = {