Commit 7e463bfb authored by Michael Jobst's avatar Michael Jobst
Browse files

Fixed disappearing of share info in file view

parent f8ed8fbe
......@@ -71,6 +71,12 @@
var fileInfo = oldElementToFile.apply(this, arguments);
fileInfo.sharePermissions = $el.attr('data-share-permissions') || undefined;
fileInfo.shareOwner = $el.attr('data-share-owner') || undefined;
if( $el.attr('data-share-types')){
var shareTypes = $el.attr('data-share-types').split(',');
fileInfo.shareTypes = shareTypes;
}
return fileInfo;
};
......@@ -247,4 +253,3 @@
})();
OC.Plugins.register('OCA.Files.FileList', OCA.Sharing.Util);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment