fix xss in the kanban with the fullname
parent
5246be9f69
commit
1313cbfdeb
|
@ -517,7 +517,7 @@ KanbanUserDirective = ($log) ->
|
||||||
html = template(ctx)
|
html = template(ctx)
|
||||||
$el.html(html)
|
$el.html(html)
|
||||||
username_label = $el.parent().find("a.task-assigned")
|
username_label = $el.parent().find("a.task-assigned")
|
||||||
username_label.html(ctx.name)
|
username_label.text(ctx.name)
|
||||||
username_label.on "click", (event) ->
|
username_label.on "click", (event) ->
|
||||||
if $el.find("a").hasClass("noclick")
|
if $el.find("a").hasClass("noclick")
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue