+data_size with counting
parent
e2c4e322ed
commit
aa9e68b96d
|
|
@ -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...");
|
||||
|
|
|
|||
Loading…
Reference in New Issue