projects
/
oweals
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
decdaf6
)
* Fixed menu cache
author
Steven Barth
<steven@midlink.org>
Mon, 5 May 2008 19:59:57 +0000
(19:59 +0000)
committer
Steven Barth
<steven@midlink.org>
Mon, 5 May 2008 19:59:57 +0000
(19:59 +0000)
core/src/ffluci/menu.lua
patch
|
blob
|
history
diff --git
a/core/src/ffluci/menu.lua
b/core/src/ffluci/menu.lua
index ed05f881d6d02c98d75bdf4618362d25836d3854..e55c0e76a48ad6593ab935b2df723b0b4f7b2d69 100644
(file)
--- a/
core/src/ffluci/menu.lua
+++ b/
core/src/ffluci/menu.lua
@@
-43,7
+43,7
@@
scope = {
}
-- Local menu database
-local menu =
{}
+local menu =
nil
-- The current pointer
local menuc = {}
@@
-119,6
+119,7
@@
end
-- Returns the menu information
function get()
if not menu then
+ menu = {}
collect()
end
return menu