johnbillion/jquery-pjax — pull request #1 by zealot128 (2011-12-12 14:11:47+00:00)
Title: Bug with indexOf in URL-Scheme

Hello, I used your changes to make the pjax work with forms.

Unfortunatly, the pjax never triggered for me, because it was leaving the function at the PJAX-link scheme match part.

This was because indexOf returned a -1, which seems to be "true" in javascript. So, the pjax was always terminated at this point.