mirror of
https://github.com/srlabs/blue-merle.git
synced 2024-12-22 05:44:59 -05:00
web: actually changing the UI when the script returns
When it doesn't time out it seems to be working. Weird.
This commit is contained in:
parent
580d456ed1
commit
958a0ecc99
@ -338,14 +338,19 @@ function handleSimSwap(ev) {
|
||||
);
|
||||
callBlueMerle("random-imei").then(
|
||||
function(res) {
|
||||
dlg.appendChild(
|
||||
E('div', { 'class': 'text'}, [
|
||||
E('p', { 'class': 'text'},
|
||||
_("IMEI set:") + " " + res
|
||||
),
|
||||
)
|
||||
E('p', { 'class': 'text'},
|
||||
_("Please shutdown the device and go to another place before booting")
|
||||
),
|
||||
E('button', { 'class': 'btn cbi-button-positive', 'click': handleShutdown, 'disabled': isReadonlyView },
|
||||
[ _('Shutdown…') ])
|
||||
)
|
||||
]
|
||||
)
|
||||
}
|
||||
).catch(
|
||||
function(err) {
|
||||
|
Loading…
Reference in New Issue
Block a user