summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2023-05-17 13:38:37 +0200
committerGitHub <noreply@github.com>2023-05-17 13:38:37 +0200
commit8cdbbbec94ab8ccd5261e10b9d3dd501615406f5 (patch)
treef4e4959358441b153b5e279200d311bf9deb640b
parentf341d631d1949276ed34370390d56bf9fba4684c (diff)
parentb474e85d1572310283b6f7071bd907ffa102969d (diff)
downloadnextcloud-server-8cdbbbec94ab8ccd5261e10b9d3dd501615406f5.tar.gz
nextcloud-server-8cdbbbec94ab8ccd5261e10b9d3dd501615406f5.zip
Merge pull request #37708 from nextcloud/backport/37697/stable26
[stable26] 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 = {