mirror of
https://github.com/JanGross/quicknotes.git
synced 2025-12-01 07:37:18 +01:00
Show all notes when remove one
This commit is contained in:
@@ -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');
|
||||||
|
|||||||
Reference in New Issue
Block a user