now working
This commit is contained in:
parent
8abdf5911b
commit
f5dae80cc6
2 changed files with 53 additions and 10 deletions
|
|
@ -137,7 +137,15 @@
|
|||
$form.submit(function (e) {
|
||||
//e.preventDefault();
|
||||
e.stopPropagation();
|
||||
const inputs = $form.serializeArray();
|
||||
let inputs = $form.serializeArray();
|
||||
//console.log(inputs);
|
||||
//let inputs = originalInputs.filter(function(el) {
|
||||
// return !el.name.match(/terms\[\d+\]\[entity\]/);
|
||||
//});
|
||||
|
||||
//inputs = originalInputs;
|
||||
console.log(inputs);
|
||||
|
||||
const href = url(inputs, settings.advanced_search_form);
|
||||
|
||||
/* digitalutsc added*/
|
||||
|
|
@ -168,7 +176,6 @@
|
|||
$( this ).attr("href", new_link);
|
||||
}
|
||||
});
|
||||
|
||||
window.history.pushState(null, document.title, href);
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue