luci-mod-system: startup.js: fix syntax error
Fixes: f3ff641d8
("luci-mod-system: ensure that textarea contents are properly escaped")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
parent
0542c6430d
commit
cc786f9833
1 changed files with 1 additions and 1 deletions
|
@ -125,7 +125,7 @@ return L.view.extend({
|
||||||
]),
|
]),
|
||||||
E('div', { 'data-tab': 'rc', 'data-tab-title': _('Local Startup') }, [
|
E('div', { 'data-tab': 'rc', 'data-tab-title': _('Local Startup') }, [
|
||||||
E('p', {}, _('This is the content of /etc/rc.local. Insert your own commands here (in front of \'exit 0\') to execute them at the end of the boot process.')),
|
E('p', {}, _('This is the content of /etc/rc.local. Insert your own commands here (in front of \'exit 0\') to execute them at the end of the boot process.')),
|
||||||
E('p', {}, E('textarea', { 'style': 'width:100%', 'rows': 20 }, [ (rcLocal != null ? rcLocal : '') ]),
|
E('p', {}, E('textarea', { 'style': 'width:100%', 'rows': 20 }, [ (rcLocal != null ? rcLocal : '') ])),
|
||||||
E('div', { 'class': 'cbi-page-actions' }, [
|
E('div', { 'class': 'cbi-page-actions' }, [
|
||||||
E('button', {
|
E('button', {
|
||||||
'class': 'btn cbi-button-save',
|
'class': 'btn cbi-button-save',
|
||||||
|
|
Loading…
Reference in a new issue