forked from 0x2620/pandora
update delete file dialog
This commit is contained in:
parent
280595d4af
commit
f80cf59f5d
1 changed files with 1 additions and 4 deletions
|
@ -21,10 +21,7 @@ pandora.ui.deleteFileDialog = function(file, callback) {
|
||||||
that.close();
|
that.close();
|
||||||
pandora.api.removeFile({
|
pandora.api.removeFile({
|
||||||
id: file
|
id: file
|
||||||
}, function(result) {
|
}, callback);
|
||||||
Ox.Request.clearCache('findFiles');
|
|
||||||
callback();
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in a new issue