uppercase text and fix dialog popup

remotes/origin/ldap_group_count
Thomas Müller 11 years ago committed by Vincent Petry
parent 179fbada32
commit d0c8b310b9
  1. 8
      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';

Loading…
Cancel
Save