diff --git a/views/default-mobile.handlebars b/views/default-mobile.handlebars index 6b8f3fcb..b62230a6 100644 --- a/views/default-mobile.handlebars +++ b/views/default-mobile.handlebars @@ -1140,6 +1140,7 @@ updateDevices(); if (Q('SearchInput').value == '*') { onSearchInputChanged(); } } + if (currentNode) { refreshDevice(currentNode._id); } } break; } diff --git a/views/default.handlebars b/views/default.handlebars index 1fca2feb..2f7007bd 100644 --- a/views/default.handlebars +++ b/views/default.handlebars @@ -2499,7 +2499,11 @@ if ((webstate.loctag != null) && (webstate.loctag != oldLoctag)) { if (webstate.loctag != null) { args.locale = webstate.loctag; } else { delete args.locale; } mainUpdate(0xFFFFFFFF); } if ((webstate.nightMode != null) && (webstate.nightMode != oldNightMode)) { nightMode = (webstate.nightMode == '1'); if (nightMode) { QC('body').add('night'); QS('body')['background-color'] = '#000'; } else { QC('body').remove('night'); QS('body')['background-color'] = '#d3d9d6'; } } if ((webstate.footerBar != null) && (webstate.footerBar != oldFooterBar)) { footerBar = (webstate.footerBar == '1'); QS('container')['grid-template-rows'] = null; QS('container')['-ms-grid-rows'] = null; adjustPanels(); } - if ((webstate.stars != null) && (webstate.stars != JSON.stringify(stars))) { stars = JSON.parse(webstate.stars); if (Q('SearchInput').value == '*') { mainUpdate(5); } else { mainUpdate(4); } } + if ((webstate.stars != null) && (webstate.stars != JSON.stringify(stars))) { + stars = JSON.parse(webstate.stars); + if (Q('SearchInput').value == '*') { mainUpdate(5); } else { mainUpdate(4); } + if (currentNode) { refreshDevice(currentNode._id); } + } } } catch (ex) {} break;