mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
sanitize tab name
This commit is contained in:
parent
a2de514c05
commit
3667de18a9
@ -828,7 +828,7 @@ RED.tabs = (function() {
|
||||
}
|
||||
|
||||
// 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) {
|
||||
options.onadd(tab);
|
||||
|
Loading…
x
Reference in New Issue
Block a user