Firewall / tabs, regression in moving tabs to menu, categories won't stick anymore. see https://github.com/opnsense/core/issues/2182

This commit is contained in:
Ad Schellevis 2018-02-13 20:25:59 +01:00
parent c142c5c17b
commit ac4f5a1aec

View File

@ -230,7 +230,7 @@ $( document ).ready(function() {
});
// hook into tab changes, keep selected category/categories when following link
$(".top_tab").each(function(){
$("#Firewall_Rules > .menu-level-3-item").each(function(){
var add_link = "";
if (selected_values.length > 0) {
add_link = "&" + $.param({'category': selected_values});