Fixed disappearing of share info in file view
This commit is contained in:
parent
27304e5694
commit
bf9376a7f6
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue