mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Allow HTML in FormField->setDescription()
This commit is contained in:
parent
d5a1c3d99a
commit
9b3aebd310
@ -13,7 +13,7 @@
|
|||||||
if(title && title.length && field.has('.help').length == 0) {
|
if(title && title.length && field.has('.help').length == 0) {
|
||||||
var span = $("<span></span>", {
|
var span = $("<span></span>", {
|
||||||
"class": "help",
|
"class": "help",
|
||||||
"text": title
|
"html": title
|
||||||
});
|
});
|
||||||
|
|
||||||
field.append(span);
|
field.append(span);
|
||||||
|
Loading…
Reference in New Issue
Block a user