mirror of https://github.com/status-im/codimd.git
Update google drive picker to enable setOwnedByMe to show shared files and folders
This commit is contained in:
parent
cd24e75805
commit
99a2cbc604
|
@ -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() {});
|
||||
}
|
||||
};
|
||||
}());
|
||||
}());
|
||||
|
|
Loading…
Reference in New Issue