Update note.js

This commit is contained in:
life
2021-03-27 17:21:07 +08:00
parent e677a7729e
commit 0862a8aef9

View File

@@ -597,7 +597,7 @@ Note.curChangedSaveIt = function(force, callback) {
Pjax.changeNote(ret);
}
me.setNoteDirty(hasChanged.NoteId, true);
ret && me.setNoteDirty(hasChanged.NoteId, ret.IsDirty);
callback && callback(ret);
}, force);