also clear the prefer setting when filter is binned

This commit is contained in:
Oliver Gorwits
2014-01-02 09:43:31 +00:00
parent ed1158a481
commit 9deb6fe691

View File

@@ -54,6 +54,7 @@
// handler for trashcan icon in port filter box
$('.nd_field-clear-icon').click(function() {
portfilter.val('');
$('#nd_ports-form-prefer-field').attr('value', '');
$('#ports_form').trigger('submit');
device_form_state(portfilter); // will hide copy icons
});