luci-base: uci.js: fix variable clash
authorJo-Philipp Wich <jo@mein.io>
Mon, 13 Apr 2020 10:22:13 +0000 (12:22 +0200)
committerJo-Philipp Wich <jo@mein.io>
Thu, 7 May 2020 17:40:49 +0000 (19:40 +0200)
commit96e3a03d8e6d261c6b67e25ae1dc91900a2614b4
tree25f2c6b43a451fb5b69becab588ec75667161073
parent22b3919b056e00eb3ae80d2ef508d7d8cae58666
luci-base: uci.js: fix variable clash

Don't overwrite the `r` variable which is supposed to refer to the reordered
uci sections with temporary data for collecting uci add parameters.

Fixes stray uci/get permission errors caused by an attempt to load
nonsensical uci package names.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 55cb5a753b94e2eee049546a2af374bb6129d4c4)
modules/luci-base/htdocs/luci-static/resources/uci.js