|
|
|
@ -93,6 +93,7 @@ define([
|
|
|
|
|
if (err) { return void console.error(err); }
|
|
|
|
|
if (APP.drive && APP.drive.close) { APP.drive.close(); }
|
|
|
|
|
APP.team = null;
|
|
|
|
|
APP.teamEdPublic = null;
|
|
|
|
|
APP.drive = null;
|
|
|
|
|
APP.buildUI(common);
|
|
|
|
|
});
|
|
|
|
@ -209,7 +210,8 @@ define([
|
|
|
|
|
folders: folders,
|
|
|
|
|
updateObject: updateObject,
|
|
|
|
|
updateSharedFolders: updateSharedFolders,
|
|
|
|
|
APP: driveAPP
|
|
|
|
|
APP: driveAPP,
|
|
|
|
|
edPublic: APP.teamEdPublic
|
|
|
|
|
});
|
|
|
|
|
APP.drive = drive;
|
|
|
|
|
driveAPP.refresh = drive.refresh;
|
|
|
|
@ -262,6 +264,7 @@ define([
|
|
|
|
|
sframeChan.query('Q_SET_TEAM', id, function (err) {
|
|
|
|
|
if (err) { return void console.error(err); }
|
|
|
|
|
APP.team = id;
|
|
|
|
|
APP.teamEdPublic = Util.find(team, ['keys', 'drive', 'edPublic']);
|
|
|
|
|
buildUI(common, true);
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|