From: Jo-Philipp Wich Date: Tue, 24 Sep 2019 10:17:26 +0000 (+0200) Subject: luci-mod-system: startup.js: fix syntax error X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=cc786f9833a2fd294885ba979b7e68671a5aa122;p=project%2Fluci.git 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 --- diff --git a/modules/luci-mod-system/htdocs/luci-static/resources/view/system/startup.js b/modules/luci-mod-system/htdocs/luci-static/resources/view/system/startup.js index ba5bb35061..77f61d607a 100644 --- a/modules/luci-mod-system/htdocs/luci-static/resources/view/system/startup.js +++ b/modules/luci-mod-system/htdocs/luci-static/resources/view/system/startup.js @@ -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',