luci-base: cbi.lua: fix TypedSection.parse()
authorDarius <darius.joksas@teltonika.lt>
Wed, 26 Sep 2018 07:59:08 +0000 (10:59 +0300)
committerJo-Philipp Wich <jo@mein.io>
Sat, 29 Sep 2018 12:01:49 +0000 (14:01 +0200)
commite5071c88f07f933521e39125cebba7244e94d760
tree7d02c6cf3920b7adba5c13059e4a05e9aeacb0aa
parentf0141773ac9f26f0d8b291006c6c1e01c29c0ef7
luci-base: cbi.lua: fix TypedSection.parse()

It's not necessary to execute all code if section already exists.

Signed-off-by: Darius Joksas <jok.darius@gmail.com>
[reword commit message, squash commits, remove stray semicolon]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/luasrc/cbi.lua