luci-mod-system: remove bogus btn class in flash.js
* fixes #4970
Signed-off-by: Dirk Brenken <dev@brenken.org>
[omit translation sync]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(backported from commit 8c6a29a45c
)
This commit is contained in:
parent
7abec3b04f
commit
ca66b630c0
1 changed files with 3 additions and 5 deletions
|
@ -251,11 +251,9 @@ return view.extend({
|
|||
|
||||
|
||||
if ((!is_valid || is_too_big) && is_forceable)
|
||||
body.push(E('p', {}, E('label', { 'class': 'btn alert-message danger' }, [
|
||||
force, ' ', _('Force upgrade'),
|
||||
E('br'), E('br'),
|
||||
_('Select \'Force upgrade\' to flash the image even if the image format check fails. Use only if you are sure that the firmware is correct and meant for your device!')
|
||||
])));
|
||||
body.push(E('p', { 'class': 'alert-message danger' }, [
|
||||
force, ' ', _('Force upgrade: Select \'Force upgrade\' to flash the image even if the image format check fails. Use only if you are sure that the firmware is correct and meant for your device!')
|
||||
]));
|
||||
|
||||
var cntbtn = E('button', {
|
||||
'class': 'btn cbi-button-action important',
|
||||
|
|
Loading…
Reference in a new issue