@ -753,7 +753,8 @@ define([
};
var emptyTrashInner = function (Env, cb) {
return void Env.sframeChan.query("Q_DRIVE_USEROBJECT", {
cmd: "emptyTrash"
cmd: "emptyTrash",
data: null
}, cb);
var addFolderInner = function (Env, path, name, cb) {
@ -595,14 +595,14 @@ define([
//if (typeof cb === "function") { cb(); }
exp.emptyTrash = function (cb) {
cb = cb || function () {};
if (sframeChan) {
return void sframeChan.query("Q_DRIVE_USEROBJECT", {
}
files[TRASH] = {};
exp.checkDeletedFiles();
exp.checkDeletedFiles(false, cb);
if(cb) { cb(); }
// RENAME