From: Steven Barth Date: Sun, 22 Nov 2009 20:32:56 +0000 (+0000) Subject: CBI: X-Git-Tag: 0.10.0~934 X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=commitdiff_plain;h=19758fae439cffad8adaf64f2e8f74ae452816ee CBI: Implement reverse dependencies Allow wiazrd steps without buttons --- diff --git a/libs/cbi/htdocs/luci-static/resources/cbi.js b/libs/cbi/htdocs/luci-static/resources/cbi.js index 004e12eaa..7ba81189e 100644 --- a/libs/cbi/htdocs/luci-static/resources/cbi.js +++ b/libs/cbi/htdocs/luci-static/resources/cbi.js @@ -59,15 +59,26 @@ function cbi_d_checkvalue(target, ref) { } function cbi_d_check(deps) { + var reverse; + var def = false; for (var i=0; i <% end %> +<% if not self.disallow_pageactions then %> <% if self.allow_back and self:get_prev(self.current) then %> <% end %> @@ -31,5 +32,6 @@ $Id$ <% elseif self:get_next(self.current) then %> <% end %> +<% end %> - + \ No newline at end of file diff --git a/libs/cbi/luasrc/view/cbi/header.htm b/libs/cbi/luasrc/view/cbi/header.htm index c831b0df1..bece16bb2 100644 --- a/libs/cbi/luasrc/view/cbi/header.htm +++ b/libs/cbi/luasrc/view/cbi/header.htm @@ -14,7 +14,7 @@ $Id$ -%> <%+header%> -
+