diff options
author | Michael Gapczynski <mtgap@owncloud.com> | 2012-09-07 00:01:52 -0400 |
---|---|---|
committer | Michael Gapczynski <mtgap@owncloud.com> | 2012-09-07 00:02:22 -0400 |
commit | 73d726d1b26f011e77761934bcf7f5ce8db86241 (patch) | |
tree | b95913dddcd74b71a97c20ea843d5a4ea23ded16 /apps/files/js/filelist.js | |
parent | 17dadd5c8a39f1903ffeec2c2c78e5e6cd145d9c (diff) | |
download | nextcloud-server-73d726d1b26f011e77761934bcf7f5ce8db86241.tar.gz nextcloud-server-73d726d1b26f011e77761934bcf7f5ce8db86241.zip |
Support for unshare from self, with a bunch of temporary fixes to overcome configuration problems with file actions
Diffstat (limited to 'apps/files/js/filelist.js')
-rw-r--r-- | apps/files/js/filelist.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js index b777785f4d9..7ebfd4b68bb 100644 --- a/apps/files/js/filelist.js +++ b/apps/files/js/filelist.js @@ -263,7 +263,12 @@ var FileList={ return; } FileList.prepareDeletion(files); - $('#notification').html(t('files', 'deleted')+' '+files+'<span class="undo">'+t('files', 'undo')+'</span>'); + // NOTE: Temporary fix to change the text to unshared for files in root of Shared folder + if ($('#dir').val() == '/Shared') { + $('#notification').html(t('files', 'unshared')+' '+files+'<span class="undo">'+t('files', 'undo')+'</span>'); + } else { + $('#notification').html(t('files', 'deleted')+' '+files+'<span class="undo">'+t('files', 'undo')+'</span>'); + } $('#notification').fadeIn(); }, finishDelete:function(ready,sync){ |