mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Fix this
context when calling multiple event listeners (fixes #2692).
This commit is contained in:
@@ -214,7 +214,8 @@ Node.prototype._emitInput = function(arg) {
|
||||
c++;
|
||||
}
|
||||
try {
|
||||
node._inputCallbacks[i](
|
||||
cb.call(
|
||||
node,
|
||||
arg,
|
||||
function() { node.send.apply(node,arguments) },
|
||||
function(err) {
|
||||
|
Reference in New Issue
Block a user