Commit d80beb0a authored by Clément Damiens's avatar Clément Damiens

up mention update
parent 673ebdb6
......@@ -460,12 +460,13 @@ function bindEventTextAreaNews(idTextArea, idNews,data/*, isAnswer, parentCommen
if(typeof data.mentions != "undefined" && data.mentions.length != 0){
$.each(data.mentions, function(e,v){
if(typeof v.slug != "undefined")
if(typeof v.slug != "undefined"){
$(idTextArea).mentionsInput("update", data.mentions);
$(idTextArea).on('keyup ', function(e){
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment