Skip to content

Commit

Permalink
Update thingsboard.h
Browse files Browse the repository at this point in the history
issue #38
  • Loading branch information
cotestatnt authored Aug 26, 2024
1 parent 846dc0f commit 8a1e732
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/customHTML/thingsboard.h
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@ function createNewDevice() {
var token = $(TB_DEVICE_TOKEN);
token.focus();
token.value = obj.credentialsValue;
openModalMessage('Write device attributes', 'Device provisioned correctly.<br>Do you want to set client attributes on ThingsBoard server?', setDeviceClientAttribute);
options[token.id] = token.value; // Manual update, because, it doesn't fire "change" event...
openModal('Write device attributes', 'Device provisioned correctly.<br>Do you want to set client attributes on ThingsBoard server?', setDeviceClientAttribute);
});
}

Expand Down

0 comments on commit 8a1e732

Please sign in to comment.