Open gkoberger opened 12 years ago
It looks like Remember Search needs a name, what's the feature behind this code?
I'm pretty sure @fwenzel wanted this? I wrote the code and never actually added it.
The point was that if you searched/filtered/etc for something, there could be a one-click "Save to my remembered searches" button (as opposed to it submitting to a new page).
Nope, not me, I think. Or perhaps I just don't remember anymore.
That said, looks like replacing the built-in POST with the call above would be benign.
Here's the code:
$('.bz_query_remember form').submit(function() { var url = $(this).attr('action'); $.post(url, $(this).serializeArray()); return false; });