Removed UCI Save/Apply cache from Essentials
[project/luci.git] / libs / cbi / luasrc / view / cbi / footer.htm
index da59266..6f90bb9 100644 (file)
@@ -14,7 +14,9 @@ $Id$
 -%>
 
        <div class="cbi-page-actions">
-               <input class="cbi-button cbi-button-apply" type="submit" name="cbi.apply" value="<%:saveapply%>" />
+               <% if not autoapply then%>
+                       <input class="cbi-button cbi-button-apply" type="submit" name="cbi.apply" value="<%:saveapply%>" />
+               <% end %>
                <input class="cbi-button cbi-button-save" type="submit" value="<%:save%>" />
                <input class="cbi-button cbi-button-reset" type="reset" value="<%:reset%>" />
                <script type="text/javascript">cbi_d_update();</script>