luci-app-firewall: zones.js: fix HTML display in ct helper selection
Fixes: #4845 Signed-off-by: Jo-Philipp Wich <jo@mein.io> (cherry picked from commit 154117ff05d0ecbe97ee98493bb647f526166b50)
This commit is contained in:
parent
b7f150ca5c
commit
f644bd99b4
@ -259,7 +259,7 @@ return view.extend({
|
||||
o.depends('auto_helper', '0');
|
||||
o.modalonly = true;
|
||||
for (var i = 0; i < ctHelpers.length; i++)
|
||||
o.value(ctHelpers[i].name, '<span class="hide-close">%s (%s)</span><span class="hide-open">%s</span>'.format(ctHelpers[i].description, ctHelpers[i].name.toUpperCase(), ctHelpers[i].name.toUpperCase()));
|
||||
o.value(ctHelpers[i].name, E('<span><span class="hide-close">%s (%s)</span><span class="hide-open">%s</span></span>'.format(ctHelpers[i].description, ctHelpers[i].name.toUpperCase(), ctHelpers[i].name.toUpperCase())));
|
||||
|
||||
o = s.taboption('advanced', form.Flag, 'log', _('Enable logging on this zone'));
|
||||
o.modalonly = true;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user