Skip to content

Commit c9b2e03

Browse files
efuquenMarkusBordihn
authored andcommitted
Reset saveFileParentId when save dialog reloads. (#212)
1 parent 3efe5f5 commit c9b2e03

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ui/gapi/gdrive/gdrive.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,7 @@ cwc.ui.gapi.Drive.prototype.saveDialog = function(name, content) {
200200
cwc.ui.gapi.Drive.prototype.getMyFiles = function() {
201201
this.switchMenu_(this.menu.MyFiles);
202202
this.parents = [{name: 'My files', id: 'root'}];
203+
this.saveFileParentId = 'root';
203204
let fileEvent = this.handleFileList.bind(this);
204205
this.getFiles_({
205206
'pageSize': cwc.config.GDrive.PAGE_SIZE,

0 commit comments

Comments
 (0)