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>
Mon, 13 Apr 2020 10:22:13 +0000 (12:22 +0200)
commit55cb5a753b94e2eee049546a2af374bb6129d4c4
tree050c107b132ad6e7adb1d733f7a39d1a8026d7b7
parent0d0ad80fd1b96ff2c33392387320ad518640782b
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>
modules/luci-base/htdocs/luci-static/resources/uci.js