Skip to content
Snippets Groups Projects
Commit a9581f9b authored by rswindell's avatar rswindell
Browse files

Resolve reported error (new, with outbox support):

binkit.js line 297: TypeError: bp.cb_data.binkitcfg.node[addr] is undefined
parent 2f2c9ac9
No related branches found
No related tags found
No related merge requests found
...@@ -294,7 +294,8 @@ function add_outbound_files(addrs, bp) ...@@ -294,7 +294,8 @@ function add_outbound_files(addrs, bp)
} }
}); });
} }
if(!bp.cb_data.binkitcfg.node[addr].outbox) if(bp.cb_data.binkitcfg.node[addr] === undefined
|| !bp.cb_data.binkitcfg.node[addr].outbox)
return; return;
var boxfiles = directory(backslash(bp.cb_data.binkitcfg.node[addr].outbox) + '*'); var boxfiles = directory(backslash(bp.cb_data.binkitcfg.node[addr].outbox) + '*');
for(var f in boxfiles) { for(var f in boxfiles) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment