recent folder is removed from list when deleted.

pull/4/head
kay.one 12 years ago
parent 4456d3cbe0
commit 27c7ed1e6d

@ -21,7 +21,13 @@ define(
}, },
removeFolder: function () { removeFolder: function () {
this.model.destroy({ wait: true });
var self = this;
this.model.destroy()
.success(function(){
self.close();
});
}, },
folderSelected: function () { folderSelected: function () {

Loading…
Cancel
Save