summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2018-10-01 11:02:12 +0200
committerJan-Christoph Borchardt <hey@jancborchardt.net>2018-10-01 11:02:12 +0200
commit9b8e884b19175a304e00fdd1371c9a524c3afbfc (patch)
tree2e8e2ba063192dd06752bd1ce4e40ebfaa6bfc8a /core
parente4f3098492c905376fff106308fdadf9af5e1492 (diff)
downloadnextcloud-server-9b8e884b19175a304e00fdd1371c9a524c3afbfc.tar.gz
nextcloud-server-9b8e884b19175a304e00fdd1371c9a524c3afbfc.zip
Change wording of 'Copy URL' to more understandable 'Copy link'
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Diffstat (limited to 'core')
-rw-r--r--core/js/sharedialoglinkshareview.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/core/js/sharedialoglinkshareview.js b/core/js/sharedialoglinkshareview.js
index 736404e2681..9cd48aaf9a7 100644
--- a/core/js/sharedialoglinkshareview.js
+++ b/core/js/sharedialoglinkshareview.js
@@ -406,7 +406,7 @@
permissions: permissions
});
},
-
+
showNoteForm: function(event) {
event.preventDefault();
event.stopPropagation();
@@ -431,9 +431,9 @@
var shareId = $li.data('share-id');
var $menu = $element.closest('li');
var $form = $menu.next('li.share-note-form');
-
+
$form.find('.share-note').val('');
-
+
$form.addClass('hidden');
$menu.find('.share-note-delete').hide();
@@ -600,7 +600,7 @@
var popover = this.popoverMenuTemplate({
cid: this.model.get('linkShare').id,
- copyLabel: t('core', 'Copy URL'),
+ copyLabel: t('core', 'Copy link'),
social: social,
shareLinkURL: this.model.get('linkShare').link,
@@ -745,7 +745,7 @@
var datePicker = $(expirationDatePicker);
var state = $element.prop('checked');
datePicker.toggleClass('hidden', !state);
-
+
if (!state) {
// disabled, let's hide the input and
// set the expireDate to nothing