diff options
author | Vincent Petry <pvince81@owncloud.com> | 2014-06-03 11:04:57 +0200 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2014-06-03 11:04:57 +0200 |
commit | 1297b2b883c447c5183a79eb6c0e0061b69aeadf (patch) | |
tree | 7613b0ec814b25294f58ee4e22647d90ba08dece /apps/files_sharing/js/sharedfilelist.js | |
parent | 640fbc016dd81f6ffffb4eb404717a9dd2c2465a (diff) | |
download | nextcloud-server-1297b2b883c447c5183a79eb6c0e0061b69aeadf.tar.gz nextcloud-server-1297b2b883c447c5183a79eb6c0e0061b69aeadf.zip |
Multiple fixes to sharing overview
- scrolling to next page now correctly renders share icons
- reshareing/unsharing a reshare will now still keep "Shared by" label
Diffstat (limited to 'apps/files_sharing/js/sharedfilelist.js')
-rw-r--r-- | apps/files_sharing/js/sharedfilelist.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/files_sharing/js/sharedfilelist.js b/apps/files_sharing/js/sharedfilelist.js index ecac5b33667..97fabf87131 100644 --- a/apps/files_sharing/js/sharedfilelist.js +++ b/apps/files_sharing/js/sharedfilelist.js @@ -38,6 +38,13 @@ } }, + _renderRow: function() { + // HACK: needed to call the overridden _renderRow + // this is because at the time this class is created + // the overriding hasn't been done yet... + return OCA.Files.FileList.prototype._renderRow.apply(this, arguments); + }, + _createRow: function(fileData) { // TODO: hook earlier and render the whole row here var $tr = OCA.Files.FileList.prototype._createRow.apply(this, arguments); |