mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
[ticket/16782] Use alternative template for mention BBCode
PHPBB3-16782
This commit is contained in:
parent
f3c426389c
commit
b305be06c9
1 changed files with 1 additions and 1 deletions
|
@ -293,7 +293,7 @@
|
|||
itemClass: 'mention-item',
|
||||
menuItemTemplate,
|
||||
selectTemplate(item) {
|
||||
return '[mention=' + item.type + ':' + item.id + ']' + item.name + '[/mention]';
|
||||
return '[mention ' + (item.type === 'g' ? 'group_id=' : 'user_id=') + item.id + ']' + item.name + '[/mention]';
|
||||
},
|
||||
menuItemLimit: mentionNamesLimit,
|
||||
values(text, cb) {
|
||||
|
|
Loading…
Add table
Reference in a new issue