Many complex widgets do not reset properly with traditional form reset,
therfore simply reload the page.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
<input class="cbi-button cbi-button-save" type="submit" value="<%:Save%>" />
<% end %>
<% if not flow.hideresetbtn then %>
- <input class="cbi-button cbi-button-reset" type="reset" value="<%:Reset%>" />
+ <input class="cbi-button cbi-button-reset" type="button" value="<%:Reset%>" onclick="location.href='<%=REQUEST_URI%>'" />
<% end %>
<script type="text/javascript">cbi_d_update();</script>