|
|
@ -501,7 +501,7 @@ define([
|
|
|
|
newPath: newPath,
|
|
|
|
newPath: newPath,
|
|
|
|
copy: false,
|
|
|
|
copy: false,
|
|
|
|
}, waitFor());
|
|
|
|
}, waitFor());
|
|
|
|
}).nThen(function (waitFor) {
|
|
|
|
}).nThen(function () {
|
|
|
|
// migrate metadata
|
|
|
|
// migrate metadata
|
|
|
|
var metadata = Env.user.userObject.getFolderData(folderElement);
|
|
|
|
var metadata = Env.user.userObject.getFolderData(folderElement);
|
|
|
|
for (var key in metadata) {
|
|
|
|
for (var key in metadata) {
|
|
|
@ -515,7 +515,7 @@ define([
|
|
|
|
// call callback
|
|
|
|
// call callback
|
|
|
|
cb();
|
|
|
|
cb();
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
// Delete permanently some pads or folders
|
|
|
|
// Delete permanently some pads or folders
|
|
|
|
var _delete = function (Env, data, cb) {
|
|
|
|
var _delete = function (Env, data, cb) {
|
|
|
|