summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/js/sharedfilelist.js
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2014-06-03 11:04:57 +0200
committerVincent Petry <pvince81@owncloud.com>2014-06-03 11:04:57 +0200
commit1297b2b883c447c5183a79eb6c0e0061b69aeadf (patch)
tree7613b0ec814b25294f58ee4e22647d90ba08dece /apps/files_sharing/js/sharedfilelist.js
parent640fbc016dd81f6ffffb4eb404717a9dd2c2465a (diff)
downloadnextcloud-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.js7
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);