fix "Find in" for annotations with quotes

This commit is contained in:
j 2024-06-19 13:52:52 +02:00
parent 1a9fe95530
commit 570fa30d41

View file

@ -325,9 +325,9 @@ Ox.AnnotationPanel = function(options, self) {
} else if (data.id == 'export') { } else if (data.id == 'export') {
that.triggerEvent('exportannotations'); that.triggerEvent('exportannotations');
} else if (data.id == 'find') { } else if (data.id == 'find') {
that.triggerEvent('find', {value: value}); that.triggerEvent('find', {value: Ox.decodeHTMLEntities(value)});
} else if (data.id == 'findannotations') { } else if (data.id == 'findannotations') {
that.triggerEvent('findannotations', {key: key, value: value}); that.triggerEvent('findannotations', {key: key, value: Ox.decodeHTMLEntities(value)});
} else if (data.id == 'import') { } else if (data.id == 'import') {
that.triggerEvent('importannotations'); that.triggerEvent('importannotations');
} else if (data.id == 'insert') { } else if (data.id == 'insert') {