diff --git a/examples/customHTML/thingsboard.h b/examples/customHTML/thingsboard.h
index 58939eed..0abadd75 100644
--- a/examples/customHTML/thingsboard.h
+++ b/examples/customHTML/thingsboard.h
@@ -87,7 +87,8 @@ function createNewDevice() {
var token = $(TB_DEVICE_TOKEN);
token.focus();
token.value = obj.credentialsValue;
- openModalMessage('Write device attributes', 'Device provisioned correctly.
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.
Do you want to set client attributes on ThingsBoard server?', setDeviceClientAttribute);
});
}