projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed a design flaw in luci.model.uci
[project/luci.git]
/
themes
/
fledermaus
/
luasrc
/
view
/
themes
/
fledermaus
/
header.htm
diff --git
a/themes/fledermaus/luasrc/view/themes/fledermaus/header.htm
b/themes/fledermaus/luasrc/view/themes/fledermaus/header.htm
index ca64381111808ff85f4b862a81d06d0aa79c2b94..db29affb98bc553e267e15e6eaba4b4472a55bfb 100644
(file)
--- a/
themes/fledermaus/luasrc/view/themes/fledermaus/header.htm
+++ b/
themes/fledermaus/luasrc/view/themes/fledermaus/header.htm
@@
-154,7
+154,9
@@
end
<%
if tree.nodes[category] and tree.nodes[category].ucidata then
local ucic = 0
<%
if tree.nodes[category] and tree.nodes[category].ucidata then
local ucic = 0
- for i, j in pairs(require("luci.model.uci").changes()) do
+ require("luci.model.uci")
+ luci.model.uci.set_savedir(luci.model.uci.savedir_default)
+ for i, j in pairs(luci.model.uci.changes()) do
for k, l in pairs(j) do
for m, n in pairs(l) do
ucic = ucic + 1;
for k, l in pairs(j) do
for m, n in pairs(l) do
ucic = ucic + 1;