recent folder is removed from list when deleted.

This commit is contained in:
kay.one 2013-07-13 14:01:14 -07:00
parent 4456d3cbe0
commit 27c7ed1e6d
1 changed files with 7 additions and 1 deletions

View File

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