diff --git a/thirdparty/index.js b/thirdparty/index.js index 3cf3446..e18965e 100644 --- a/thirdparty/index.js +++ b/thirdparty/index.js @@ -68,6 +68,7 @@ $(window).ready(function () { case 'send': return JSON.stringify({ "request_type": "0x01", + "data_size" : String(1 + 4 + 4*packet.data.split(' ').length), "additional_header": { "wrd": packet.wrd, "auto_increment": packet.inc, @@ -147,7 +148,6 @@ $(window).ready(function () { }); } - $('#connect-btn').click(function() { if (!apiIsAlive) { err_msg_conn("Cannot work without API-Server. Check its health...");