mirror of https://github.com/MISP/MISP
chg: [eventReport:markdownEditor] Propose hints based on substring instead of start of
the valuepull/6412/head
parent
f892367e0e
commit
c8b781f732
|
@ -208,7 +208,7 @@ function hintMISPElements(cm, options) {
|
|||
if (hintList.length >= maxHints) {
|
||||
break
|
||||
}
|
||||
if (hintValue.startsWith(elementID)) {
|
||||
if (hintValue.includes(elementID)) {
|
||||
if (addedItems[hintUUID] === undefined) {
|
||||
if (scope === 'tag') {
|
||||
element = proxyMISPElements['tagname'][hintUUID]
|
||||
|
|
Loading…
Reference in New Issue