make existing notes editable

This commit is contained in:
j 2019-01-31 22:18:53 +05:30
parent 3d099f2c5f
commit b4c4372394

View file

@ -12,7 +12,7 @@ oml.ui.annotation = function(annotation, $iframe) {
} }
}) })
var notes = annotation.notes.length ? annotation.notes.map(function(note) { var notes = annotation.notes.length ? annotation.notes.map(function(note) {
note.editable = note.user == '' note.editable = !note.user
return note return note
}) : [{ }) : [{
id: 'A', id: 'A',