Add status to file node when you overide filename

(so you can see what it writes to... )
This commit is contained in:
dceejay 2015-01-29 15:54:52 +00:00
parent 8c075bfde3
commit 27f9056360
1 changed files with 1 additions and 0 deletions

View File

@ -31,6 +31,7 @@ module.exports = function(RED) {
node.warn("Deprecated: msg properties should not override set node properties. See bit.ly/nr-override-msg-props");
}
filename = msg.filename;
node.status({fill:"grey",shape:"dot",text:msg.filename});
} else {
filename = this.filename;
}