recent folder is removed from list when deleted.

pull/2/head
kay.one 11 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