Update google drive picker to enable setOwnedByMe to show shared files and folders

This commit is contained in:
Max Wu 2017-02-11 00:11:21 +08:00 committed by GitHub
parent cd24e75805
commit 99a2cbc604

View file

@ -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() {});
}
};
}());
}());