mirror of https://github.com/node-red/node-red.git
Merge pull request #3646 from node-red-hitachi/fix-tab-name-sanitize
Fix to sanitize tab namepull/3649/head
commit
551e73adef
|
@ -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…
Reference in New Issue