luci-base: fix placement of CBI strings
authorJo-Philipp Wich <jo@mein.io>
Mon, 9 Jul 2018 15:04:10 +0000 (17:04 +0200)
committerJo-Philipp Wich <jo@mein.io>
Mon, 9 Jul 2018 15:04:10 +0000 (17:04 +0200)
commit4a083f6d2334bf2f35e8299fc215d61165c6a39a
treea932260069117e66e83ee1b53c8a8a6c6368bbdf
parent9651be295355acf1c22157b00c86a7d5680eb2a5
luci-base: fix placement of CBI strings

Commit c0de036b3 ("treewide: always include cbi.js") improperly removed the
cbi.js script include from header.htm, leaving behind the string dictionary.

Move the JSON dictionary to the parent <form> element and delete the
leftover </script> element.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/luasrc/view/cbi/header.htm