mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Merge pull request #3663 from Steve-Mcl/backport-3646
Fix to sanitize tab name (Backport #3646 to v2.x)
This commit is contained in:
commit
7fd884c68f
@ -828,7 +828,7 @@ RED.tabs = (function() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// link.attr("title",tab.label);
|
// link.attr("title",tab.label);
|
||||||
RED.popover.tooltip(link,function() { return tab.label})
|
RED.popover.tooltip(link,function() { return RED.utils.sanitize(tab.label); });
|
||||||
|
|
||||||
if (options.onadd) {
|
if (options.onadd) {
|
||||||
options.onadd(tab);
|
options.onadd(tab);
|
||||||
|
Loading…
Reference in New Issue
Block a user