Backported dynamic section optional field generating
authorSteven Barth <steven@midlink.org>
Sun, 7 Sep 2008 22:57:59 +0000 (22:57 +0000)
committerSteven Barth <steven@midlink.org>
Sun, 7 Sep 2008 22:57:59 +0000 (22:57 +0000)
libs/cbi/luasrc/view/cbi/ucisection.htm

index 92343bba20acd585db8081993ad2604a9b2a93bc..e703053e135193c2de1cca40fb20d6f3b0c4dddf 100644 (file)
@@ -31,7 +31,7 @@ $Id$
                                <%-
                                        for i, val in pairs(self.optionals[section]) do
                                -%>
-                                       <%-=string.format("%q", striptags(val.title)) .. ":" .. string.format("%q", val.option)-%>,
+                                       <%-=string.format("%q", val.option) .. ":" .. string.format("%q", striptags(val.title))-%>,
                                <%-
                                        end
                                -%>