luci-base: rework "in request" flagging logic for menu nodes
authorJo-Philipp Wich <jo@mein.io>
Fri, 29 Jun 2018 15:46:56 +0000 (17:46 +0200)
committerJo-Philipp Wich <jo@mein.io>
Mon, 2 Jul 2018 06:46:26 +0000 (08:46 +0200)
commit3aba615029c73912f3f3c40d14bbb0081940ac8a
tree5957b4cd7eea4301fb7501d8d8f3fa9540ffaf2d
parent2e2dab3e56f89fc15e1b7604e4ae83fa6c6ab544
luci-base: rework "in request" flagging logic for menu nodes

The previous implementation failed to mark active nodes under some
circumstances.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/luasrc/dispatcher.lua