@ -112,8 +112,7 @@ define([
};
common.getEdPublic = function (teamId, cb) {
postMessage("GET", {
teamId: teamId,
key: ['edPublic']
key: teamId ? ['teams', teamId, 'keys', 'drive', 'edPublic'] : ['edPublic']
}, function (obj) {
cb(obj);
});
@ -4365,6 +4365,7 @@ define([
}
var fmConfig = {
teamId: APP.team,
noHandlers: true,
onUploaded: function () {
refresh();
@ -34,7 +34,7 @@ define([
var origin = common.getMetadataMgr().getPrivateData().origin;
var response = Util.response();
var teamId = config.teamId; // XXX Teams file upload as a team
var teamId = config.teamId;
var queue = File.queue = {
queue: [],