summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Ng <chrng8@gmail.com>2023-04-12 21:21:15 -0700
committerbackportbot-nextcloud[bot] <backportbot-nextcloud[bot]@users.noreply.github.com>2023-04-13 08:06:47 +0000
commitb474e85d1572310283b6f7071bd907ffa102969d (patch)
tree128db55fd2b0a410ad19dc38d409b1e630dfa884
parentf95c76d82e5aba7513b8291e78a8e84a2e5aaaef (diff)
downloadnextcloud-server-b474e85d1572310283b6f7071bd907ffa102969d.tar.gz
nextcloud-server-b474e85d1572310283b6f7071bd907ffa102969d.zip
Fix button text
Signed-off-by: Christopher Ng <chrng8@gmail.com>
-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 = {