Skip to content

Commit

Permalink
Merge pull request #31 from hlehoux2021/master
Browse files Browse the repository at this point in the history
Update mySensors.js to fix addCmdToTable()
  • Loading branch information
lunarok authored Jan 12, 2025
2 parents 8aaa0dd + c8ba3c5 commit 35c3694
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions desktop/js/mySensors.js
Original file line number Diff line number Diff line change
Expand Up @@ -294,10 +294,9 @@ function addCmdToTable(_cmd) {
tr += '</tr>';

$('#table_cmd tbody').append(tr);
//$('#table_cmd tbody tr:last').setValues(_cmd, '.cmdAttr');
var tr = $('#table_cmd tbody tr:last');
var tr = $('#table_cmd tbody tr').last()
jeedom.eqLogic.buildSelectCmd({
id: $(".li_eqLogic.active").attr('data-eqLogic_id'),
id: $('.eqLogicAttr[data-l1key=id]').value(),
filter: { type: 'info' },
error: function (error) {
$('#div_alert').showAlert({ message: error.message, level: 'danger' });
Expand Down

0 comments on commit 35c3694

Please sign in to comment.