From 55a6f8d10fb7b328abc659fffe3ff0ed9f19babf Mon Sep 17 00:00:00 2001 From: Tobias Mueller Date: Mon, 16 Oct 2023 15:54:46 +0200 Subject: [PATCH] fix syntax error in web interface I want to see it in the menu before further developing the functionality. --- files/www/luci-static/resources/view/opkg2.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/files/www/luci-static/resources/view/opkg2.js b/files/www/luci-static/resources/view/opkg2.js index d306bb7..1ee57a1 100644 --- a/files/www/luci-static/resources/view/opkg2.js +++ b/files/www/luci-static/resources/view/opkg2.js @@ -823,10 +823,13 @@ function handleRemove(ev) } function handleSimSwap(ev) { - var dlg = ui.showModal(_('Starting SIM swap...'), [ + var dlg = ui.showModal(_('Starting SIM swap...'), + [ E('p', { 'class': 'spinning' }, _('Shutting down modem…') - ]); + ) + ] + ) } function handleOpkg(ev)