From e0ecf651e28d58c32e517fe69c173589b6a2c844 Mon Sep 17 00:00:00 2001 From: ansuz Date: Tue, 18 Apr 2017 12:23:58 +0200 Subject: [PATCH] add a note about showing pinned file usage --- www/drive/main.js | 4 ++++ 1 file changed, 4 insertions(+) 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;