Fix #1038 again for separate note windows
This commit is contained in:
parent
d5b2f67afa
commit
90cc7efef4
|
@ -86,8 +86,6 @@ function onUnload()
|
||||||
var NotifyCallback = {
|
var NotifyCallback = {
|
||||||
notify: function(action, type, ids){
|
notify: function(action, type, ids){
|
||||||
if (noteEditor.item && ids.indexOf(noteEditor.item.id) != -1) {
|
if (noteEditor.item && ids.indexOf(noteEditor.item.id) != -1) {
|
||||||
noteEditor.item = noteEditor.item;
|
|
||||||
|
|
||||||
// If the document title hasn't yet been set, reset undo so
|
// If the document title hasn't yet been set, reset undo so
|
||||||
// undoing to empty isn't possible
|
// undoing to empty isn't possible
|
||||||
var noteTitle = noteEditor.note.getNoteTitle();
|
var noteTitle = noteEditor.note.getNoteTitle();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user