I have a form like this on my page:
<form data-bind="submit: AddFolder"></form>
If I have this code in my JS script (of course I've removed all of the unrelated code and tested to make sure I can still recreate with only this code, normally you'll have more code inside here like .get and .post functions):
Sammy(function() {
}).run();
When the form is submitted, the page redirects to a weird URL like ?ko_unique=1
If I remove the Sammy part from my script, this doesn't happen. I think it has something to do with event bubbling and Sammy and Knockout both hooking the onSubmit, and the browser only respecting the return value from the last function called.