Details
Description
If DOM-Diffing decides to send an updated <form> element to the bridge, the next request is a normal form post instead of an AJAX call.
This is because this new <form> instance is not being decorated anymore with the logic to call "submit" on the bridge instead of a normal form post. This decoration only happens on window.onLoad() which is of course not called in the case of incremental page updates. Search for "onLoad(window, function()" in bridge.js
This is because this new <form> instance is not being decorated anymore with the logic to call "submit" on the bridge instead of a normal form post. This decoration only happens on window.onLoad() which is of course not called in the case of incremental page updates. Search for "onLoad(window, function()" in bridge.js
Added testcase for this bug.
If the textfield doesn't have a defined ID, the whole form gets updated. If the textfield would have a defined ID the bug wouldn't occur.