aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/js/share.js
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_sharing/js/share.js')
-rw-r--r--apps/files_sharing/js/share.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/apps/files_sharing/js/share.js b/apps/files_sharing/js/share.js
index 0b97010c4f1..d6cf45bf44f 100644
--- a/apps/files_sharing/js/share.js
+++ b/apps/files_sharing/js/share.js
@@ -128,10 +128,7 @@ function createShareDropdown(filenames, files) {
$.each(users, function(index, row) {
if (typeof(index) == 'string') {
// TODO typeof not always working, group together users that have parent folders shared with them
- list += "<li>disabled";
- list += index;
- list += row.uid_shared_with;
- list += "</li>";
+ list += "<li>Parent folder "+index.substr(0, index.lastIndexOf('-'))+" shared with "+row.uid_shared_with+"</li>";
} else {
list += "<li data-uid_shared_with='"+row.uid_shared_with+"'>";
list += row.uid_shared_with;