I suggest you ...

Accordian title issue

I am trying to use the accordian control and finding that it does not accept the HTML. It accepts only text. I have found the issue with this as well. Its in the Segmented JS file of the controls.

createItem: function(g, e) {
var c, b = this.elements.items;
c = e.text || "";
var a = this;
c = d.createElement("li", {
html: {
tag: "a",
"class": g + "-title " + this.className + "-item-title",
title: c,
html: {
tag: "span",
text: c
},
events: {
click: function(b) {
j.stop(b);
a.dispatchEvent("onClick", [g])
}
}
}
});
b[g] = c;
e.pinned && (c.addClassName("uwa-pinned"), this.selectItem(g, !1));
return c
}

the above function set a text ( text: c) instead of HTML ( html : c). Can you please make the change?

1 vote
Vote
Sign in
(thinking…)
Password icon
Signed in as (Sign out)
You have left! (?) (thinking…)
swapnil khamkar shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

0 comments

Sign in
(thinking…)
Password icon
Signed in as (Sign out)
Submitting...

Feedback and Knowledge Base