summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorMax Wu2017-02-11 00:11:21 +0800
committerGitHub2017-02-11 00:11:21 +0800
commit99a2cbc60461de724167c525cfc89d35c3480cec (patch)
treeba3e67a3c2afa026fe8ff2a29ff1a70c4f48c2f5 /public
parentcd24e758052191bacc3f51ddb8cca9a25244bd14 (diff)
Update google drive picker to enable setOwnedByMe to show shared files and folders
Diffstat (limited to 'public')
-rw-r--r--public/js/google-drive-picker.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/public/js/google-drive-picker.js b/public/js/google-drive-picker.js
index e653653c..94aa77ff 100644
--- a/public/js/google-drive-picker.js
+++ b/public/js/google-drive-picker.js
@@ -52,6 +52,7 @@
var view = new google.picker.DocsView();
view.setMimeTypes("text/markdown,text/html");
view.setIncludeFolders(true);
+ view.setOwnedByMe(true);
this.picker = new google.picker.PickerBuilder().
enableFeature(google.picker.Feature.NAV_HIDDEN).
addView(view).
@@ -115,4 +116,4 @@
}, callback ? callback : function() {});
}
};
-}()); \ No newline at end of file
+}());