Skip to content

Commit

Permalink
add state picker for config value stateEnWG
Browse files Browse the repository at this point in the history
  • Loading branch information
Sneak-L8 committed Oct 28, 2024
1 parent c16377e commit ecd7e87
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions admin/index_m.html
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,16 @@
});
});

$('#OID_stateEnWG').on('click', function () {
initSelectId(function (sid) {
sid.selectId('show', $('#stateEnWG').val(), function (newId) {
if (newId) {
$('#stateEnWG').val(newId).trigger('change');
}
});
});
});

$('#OID_stateEnergyMeter1').on('click', function () {
initSelectId(function (sid) {
sid.selectId('show', $('#stateEnergyMeter1').val(), function (newId) {
Expand Down

0 comments on commit ecd7e87

Please sign in to comment.