diff --git a/ui.js b/ui.js index 9b952de..734d2e5 100644 --- a/ui.js +++ b/ui.js @@ -137,7 +137,7 @@ exports.getSelectedRadioValue = getSelectedRadioValue; /* Initialise device information displays */ -exports.initialiseDisplay = function () { +function initialiseDisplay() { idDisplay.value = "0000000000000000"; @@ -147,6 +147,8 @@ exports.initialiseDisplay = function () { }; +exports.initialiseDisplay = initialiseDisplay; + /* Disable/enable device information display */ exports.disableDisplay = function () { @@ -163,6 +165,8 @@ exports.disableDisplay = function () { configureButton.disabled = true; + initialiseDisplay(); + }; exports.enableDisplayAndShowTime = function (date) {