Shared folder history

This commit is contained in:
yflory
2019-06-17 14:13:06 +02:00
parent ba877ba459
commit 04d8578f4e
6 changed files with 72 additions and 4 deletions

View File

@@ -130,6 +130,12 @@ define([
postMessage("DRIVE_USEROBJECT", data, cb);
};
common.restoreDrive = function (data, cb) {
if (data.sfId) { // Shared folder ID
postMessage('RESTORE_SHARED_FOLDER', data, cb, {
timeout: 5 * 60 * 1000
});
return;
}
postMessage("SET", {
key:['drive'],
value: data