mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Ensure status messages are strings
This commit is contained in:
@@ -86,7 +86,7 @@ var RED = (function() {
|
|||||||
var node = RED.nodes.node(parts[1]);
|
var node = RED.nodes.node(parts[1]);
|
||||||
if (node) {
|
if (node) {
|
||||||
if (msg.text) {
|
if (msg.text) {
|
||||||
msg.text = node._(msg.text,{defaultValue:msg.text});
|
msg.text = node._(msg.text.toString(),{defaultValue:msg.text.toString()});
|
||||||
}
|
}
|
||||||
node.status = msg;
|
node.status = msg;
|
||||||
if (statusEnabled) {
|
if (statusEnabled) {
|
||||||
|
Reference in New Issue
Block a user