forked from 0x2620/pandora
fix last success call
This commit is contained in:
parent
04e46763f1
commit
065d35c2b2
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue