diff options
author | Max Wu | 2017-02-11 00:11:21 +0800 |
---|---|---|
committer | GitHub | 2017-02-11 00:11:21 +0800 |
commit | 99a2cbc60461de724167c525cfc89d35c3480cec (patch) | |
tree | ba3e67a3c2afa026fe8ff2a29ff1a70c4f48c2f5 /public | |
parent | cd24e758052191bacc3f51ddb8cca9a25244bd14 (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.js | 3 |
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 +}()); |