diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2014-01-30 16:29:32 +0100 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2014-02-20 18:24:42 +0100 |
commit | d0c8b310b9bd3134c650b4d77a384859519086c6 (patch) | |
tree | 37a3a757dbb63eff925696833199050b028fc0b9 /apps | |
parent | 179fbada324bb51cfce6fde1818560b3ea739061 (diff) | |
download | nextcloud-server-d0c8b310b9bd3134c650b4d77a384859519086c6.tar.gz nextcloud-server-d0c8b310b9bd3134c650b4d77a384859519086c6.zip |
uppercase text and fix dialog popup
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_sharing/js/share.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/files_sharing/js/share.js b/apps/files_sharing/js/share.js index 7df8a05f607..b08f3370c6f 100644 --- a/apps/files_sharing/js/share.js +++ b/apps/files_sharing/js/share.js @@ -10,7 +10,7 @@ $(document).ready(function() { allShared.addClass('permanent'); allShared.find('span').text(function(){ $owner = $(this).closest('tr').attr('data-share-owner'); - return ' ' + t('files_sharing', 'shared by {owner}', {owner: $owner}); + return ' ' + t('files_sharing', 'Shared by {owner}', {owner: $owner}); }); if (!sharesLoaded){ @@ -26,9 +26,9 @@ $(document).ready(function() { FileActions.register('all', 'Share', OC.PERMISSION_READ, OC.imagePath('core', 'actions/share'), function(filename) { var dir = $('#dir').val(); - var item = $dir + '/' + filename; - if ($dir == '/') { - item = $dir + filename; + var item = dir + '/' + filename; + if (dir == '/') { + item = dir + filename; } var tr = FileList.findFileEl(filename); var itemType = 'file'; |