Update google drive picker to enable setOwnedByMe to show shared files and folders
This commit is contained in:
parent
cd24e75805
commit
99a2cbc604
1 changed files with 2 additions and 1 deletions
|
@ -52,6 +52,7 @@
|
||||||
var view = new google.picker.DocsView();
|
var view = new google.picker.DocsView();
|
||||||
view.setMimeTypes("text/markdown,text/html");
|
view.setMimeTypes("text/markdown,text/html");
|
||||||
view.setIncludeFolders(true);
|
view.setIncludeFolders(true);
|
||||||
|
view.setOwnedByMe(true);
|
||||||
this.picker = new google.picker.PickerBuilder().
|
this.picker = new google.picker.PickerBuilder().
|
||||||
enableFeature(google.picker.Feature.NAV_HIDDEN).
|
enableFeature(google.picker.Feature.NAV_HIDDEN).
|
||||||
addView(view).
|
addView(view).
|
||||||
|
|
Loading…
Reference in a new issue