If you have multiple forms on a single page with different actions, then the changeFormHash method will set the action url of every form on the page to the action url of the first form with the tab anchor appended.
function changeFormHash(hash) {
if ($("form").length != 0) {
action_parts = $('form').attr('action').split('#');
$('form').attr('action', action_parts[0] + '#' + hash);
}
}
UPDATE: Actually, I've just noticed that I was using a version from December 2015 (still versioned in the source as 1.2.0) but the current version has been much modified and no longer causes the issue.
If you have multiple forms on a single page with different actions, then the
changeFormHash
method will set the action url of every form on the page to the action url of the first form with the tab anchor appended.UPDATE: Actually, I've just noticed that I was using a version from December 2015 (still versioned in the source as 1.2.0) but the current version has been much modified and no longer causes the issue.