1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Ensure status messages are strings

This commit is contained in:
Nick O'Leary 2015-07-08 08:02:23 +01:00
parent 90b8806e7c
commit 95d20d7fba

View File

@ -86,7 +86,7 @@ var RED = (function() {
var node = RED.nodes.node(parts[1]);
if (node) {
if (msg.text) {
msg.text = node._(msg.text,{defaultValue:msg.text});
msg.text = node._(msg.text.toString(),{defaultValue:msg.text.toString()});
}
node.status = msg;
if (statusEnabled) {