Skip to content

Commit

Permalink
Ensure ui_frame respects socketid (if present)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dave Conway-Jones committed Nov 30, 2020
1 parent f8eacc6 commit ddb8586
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions node-red-node-ui-iframe/ui_iframe.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,15 +80,7 @@ module.exports = function(RED) {
return value;
},
beforeEmit: function(msg, value) {
var obj = {
payload: value
};
if (msg.url) {
obj.url = msg.url;
}
return {
msg: obj
};
return { msg:msg };
},
beforeSend: function (msg, orig) {
if (orig) {
Expand Down

0 comments on commit ddb8586

Please sign in to comment.