Fix form reset icon on ports tab when using custom path

This commit is contained in:
Eric A. Miller
2013-12-16 11:50:47 -05:00
parent 2992004354
commit 5d3216552f
2 changed files with 3 additions and 2 deletions

View File

@@ -12,6 +12,7 @@
* [#61] Arpnip debug text says it is resolving aliases instead of ARP
entries (Robert Kerr)
* [#60] Incorrect format string in store_vlans (Robert Kerr)
* Fix form reset icon on ports tab when using custom path (Daniel Tuecks)
2.020002 - 2013-12-11

View File

@@ -92,7 +92,7 @@
$.cookie('nd_ports-form', $.param(cookie) ,{ expires: 365 });
// form reset icon on ports tab
$('#nd_sidebar-reset-link').attr('href', '/device?tab=ports&reset=on&' +
$('#nd_sidebar-reset-link').attr('href', uri_base + '/device?tab=[% tab.tag %]&reset=on&' +
$('#ports_form')
.find('input[name="q"],input[name="f"],input[name="partial"],input[name="invert"]')
.serialize())