mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Sanitize Debug node name when display enable/disable message
This commit is contained in:
parent
fad8dcd304
commit
dd780945e1
@ -108,7 +108,7 @@
|
||||
toggle: "active",
|
||||
visible: function() { return this.tosidebar; },
|
||||
onclick: function() {
|
||||
var label = this.name||"debug";
|
||||
var label = RED.utils.sanitize(this.name||"debug");
|
||||
var node = this;
|
||||
activateAjaxCall(node, node.active, function(resp, textStatus, xhr) {
|
||||
var historyEvent = {
|
||||
|
Loading…
Reference in New Issue
Block a user