From 7aed1e4b9d3d608389a8b15ea800b8e75be967ef Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Tue, 10 Nov 2009 16:02:48 +0000 Subject: NIU: More pages --- libs/uci/luasrc/model/uci.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'libs/uci/luasrc/model') diff --git a/libs/uci/luasrc/model/uci.lua b/libs/uci/luasrc/model/uci.lua index c927b4ca5a..66bd0a026e 100644 --- a/libs/uci/luasrc/model/uci.lua +++ b/libs/uci/luasrc/model/uci.lua @@ -58,7 +58,10 @@ function cursor_state() end -local Cursor = getmetatable(cursor()) +inst = cursor() +inst_state = cursor_state() + +local Cursor = getmetatable(inst) --- Applies UCI configuration changes -- @param configlist List of UCI configurations -- cgit v1.2.3