luci-mod-system: startup.js: fix syntax error
authorJo-Philipp Wich <jo@mein.io>
Tue, 24 Sep 2019 10:17:26 +0000 (12:17 +0200)
committerJo-Philipp Wich <jo@mein.io>
Tue, 24 Sep 2019 10:17:26 +0000 (12:17 +0200)
Fixes: f3ff641d8 ("luci-mod-system: ensure that textarea contents are properly escaped")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-mod-system/htdocs/luci-static/resources/view/system/startup.js

index ba5bb35061de56546a4396151c9af314358b7311..77f61d607a5570b6c55608b943ad24778595397c 100644 (file)
@@ -125,7 +125,7 @@ return L.view.extend({
                                ]),
                                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', {}, 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('button', {
                                                        'class': 'btn cbi-button-save',