From 75d4cca7ae10a39d9787afd5f1c2f14800491acd Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Sun, 17 Aug 2008 10:20:36 +0000 Subject: Fixed a design flaw in luci.model.uci --- themes/fledermaus/luasrc/view/themes/fledermaus/header.htm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'themes/fledermaus/luasrc/view') diff --git a/themes/fledermaus/luasrc/view/themes/fledermaus/header.htm b/themes/fledermaus/luasrc/view/themes/fledermaus/header.htm index ca64381111..db29affb98 100644 --- 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 - 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; -- cgit v1.2.3