Show all notes when remove one

This commit is contained in:
Matias De lellis
2016-05-26 20:40:36 -03:00
parent 2dbeca3462
commit 7d3ab60b96

View File

@@ -301,6 +301,7 @@ View.prototype = {
self._notes.removeActive().done(function () { self._notes.removeActive().done(function () {
$(".notes-grid").isotope('remove', note.parent()) $(".notes-grid").isotope('remove', note.parent())
.isotope('layout'); .isotope('layout');
self.showAll();
self.renderNavigation(); self.renderNavigation();
}).fail(function () { }).fail(function () {
alert('Could not delete note, not found'); alert('Could not delete note, not found');