diff options
author | Morris Jobke <hey@morrisjobke.de> | 2014-09-16 12:49:17 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2014-09-16 12:49:17 +0200 |
commit | 61b040cbe89d010a586fcd95ff8a65e40e4f0f44 (patch) | |
tree | 38397bab74f85d65d2f641ea95f2aa50794884ac /apps/files/js | |
parent | e2b504e61d3c6b1c6684b0c06a37d45215d5f571 (diff) | |
parent | ea2022661d85092b30f49056c3523501b6cb7e54 (diff) | |
download | nextcloud-server-61b040cbe89d010a586fcd95ff8a65e40e4f0f44.tar.gz nextcloud-server-61b040cbe89d010a586fcd95ff8a65e40e4f0f44.zip |
Merge pull request #10663 from owncloud/files_trashbin_original_path
Show original path information in trashbin and for shares
Diffstat (limited to 'apps/files/js')
-rw-r--r-- | apps/files/js/filelist.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js index 522ff627529..7c49c540d85 100644 --- a/apps/files/js/filelist.js +++ b/apps/files/js/filelist.js @@ -674,6 +674,12 @@ if (extension) { nameSpan.append($('<span></span>').addClass('extension').text(extension)); } + if (fileData.extraData) { + if (fileData.extraData.charAt(0) === '/') { + fileData.extraData = fileData.extraData.substr(1); + } + nameSpan.addClass('extra-data').attr('title', fileData.extraData); + } // dirs can show the number of uploaded files if (type === 'dir') { linkElem.append($('<span></span>').attr({ |