fix last success call

This commit is contained in:
j 2015-04-09 19:42:18 +02:00
parent 04e46763f1
commit 065d35c2b2

View file

@ -68,6 +68,7 @@ pandora.fs = (function() {
function renameFile(old, name, callback) { function renameFile(old, name, callback) {
that.fs.root.getFile(old, {}, function(fileEntry) { that.fs.root.getFile(old, {}, function(fileEntry) {
fileEntry.moveTo(that.fs.root, name); fileEntry.moveTo(that.fs.root, name);
callback();
}, callback); }, callback);
} }