luci-app-attendedsysupgrade: use JSON.stringify 1305/head
authorPaul Spooren <paul@spooren.de>
Mon, 14 Aug 2017 17:13:23 +0000 (19:13 +0200)
committerPaul Spooren <paul@spooren.de>
Mon, 14 Aug 2017 17:14:52 +0000 (19:14 +0200)
commit5cdab68f25f92dd26eb3f218ebe648740eaef4dd
tree6e1dfa9a7e1acf1a3323bbba7262b73dbecf3be6
parent09e0519fca7ac3bbb6d391ca5c04a1735ee1d49f
luci-app-attendedsysupgrade: use JSON.stringify

now uses JSON.stringify instead of creating pseudo JSON data via
`'{' + variable + '}'`

also simplify uci naming

Signed-off-by: Paul Spooren <paul@spooren.de>
applications/luci-app-attendedsysupgrade/luasrc/view/attendedsysupgrade.htm