Notes set selectedIndex value
This commit is contained in:
@@ -189,6 +189,7 @@ angular.module('app')
|
|||||||
this.selectedNote = note;
|
this.selectedNote = note;
|
||||||
note.conflict_of = null; // clear conflict
|
note.conflict_of = null; // clear conflict
|
||||||
this.selectionMade()(note);
|
this.selectionMade()(note);
|
||||||
|
this.selectedIndex = this.visibleNotes().indexOf(note);
|
||||||
}
|
}
|
||||||
|
|
||||||
this.createNewNote = function() {
|
this.createNewNote = function() {
|
||||||
|
|||||||
Reference in New Issue
Block a user