Bugfix: If a named submit button was clicked multiple times, the name wasn't sent in 2nd ... nth time.

This commit is contained in:
frietsch 2011-10-28 17:30:58 +03:00 committed by John Bender
parent 73508f1dbf
commit b051c3203e

View file

@ -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;
});
}
});