diff --git a/www/drive/main.js b/www/drive/main.js index 9b960fc92..81fb8b223 100644 --- a/www/drive/main.js +++ b/www/drive/main.js @@ -1878,6 +1878,10 @@ define([ }); var getProperties = function (el) { +/* TODO... +if we make this async, we can include an RPC call to the server which tells us +the size of the pinned file (if it is pinned) */ + if (!filesOp.isFile(el)) { return; } var ro = filesOp.isReadOnlyFile(el); var base = window.location.origin;