summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-01-30 16:29:32 +0100
committerVincent Petry <pvince81@owncloud.com>2014-02-20 18:24:42 +0100
commitd0c8b310b9bd3134c650b4d77a384859519086c6 (patch)
tree37a3a757dbb63eff925696833199050b028fc0b9 /apps
parent179fbada324bb51cfce6fde1818560b3ea739061 (diff)
downloadnextcloud-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.js8
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';