Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

Commit

Permalink
Navigation: Honor formaction during submit. Fixes #3202.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriel Schulhof committed Aug 12, 2013
1 parent 391714b commit 6686c32
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion js/jquery.mobile.navigation.js
Expand Up @@ -1413,7 +1413,8 @@ define( [
return false;
}

url = $form.attr( "action" );
url = ( $lastVClicked && $lastVClicked.attr( "formaction" ) ) ||
$form.attr( "action" );
method = ( $form.attr( "method" ) || "get" ).toLowerCase();

// If no action is specified, browsers default to using the
Expand Down

0 comments on commit 6686c32

Please sign in to comment.