mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-03-16 22:10:25 +00:00
Bugfix: If a named submit button was clicked multiple times, the name wasn't sent in 2nd ... nth time.
This commit is contained in:
parent
73508f1dbf
commit
b051c3203e
1 changed files with 2 additions and 1 deletions
|
|
@ -54,7 +54,8 @@ $.widget( "mobile.button", $.mobile.widget, {
|
|||
|
||||
// Bind to doc to remove after submit handling
|
||||
$( document ).submit(function(){
|
||||
$buttonPlaceholder.remove();
|
||||
$buttonPlaceholder.remove();
|
||||
$buttonPlaceholder = undefined;
|
||||
});
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue