mirror of
https://github.com/loviuz/wifi-probe-aggregator.git
synced 2025-02-17 12:00:38 +01:00
Inserimenti nuovi device a inizio tabella
This commit is contained in:
parent
e173b53743
commit
e29850751a
@ -58,7 +58,7 @@ function leggi_devices(interval){
|
|||||||
row_id = 'mac_' + (result.records[i].mac).replace(/:/g, '_');
|
row_id = 'mac_' + (result.records[i].mac).replace(/:/g, '_');
|
||||||
|
|
||||||
if( $('#devices-table > tbody').find('tr[data-id="' + row_id + '"]').length == 0 ){
|
if( $('#devices-table > tbody').find('tr[data-id="' + row_id + '"]').length == 0 ){
|
||||||
$('#devices-table > tbody').append(
|
$('#devices-table > tbody').prepend(
|
||||||
'<tr data-id="' + row_id + '">' +
|
'<tr data-id="' + row_id + '">' +
|
||||||
'<td></td>' +
|
'<td></td>' +
|
||||||
'<td>' + device + '</td>' +
|
'<td>' + device + '</td>' +
|
||||||
|
Loading…
x
Reference in New Issue
Block a user