1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-06-17 06:49:53 +02:00

Merge pull request #1856 from prototech/ticket/12001

[ticket/12001] Ensure that form data is sent to server in AJAX requests.
This commit is contained in:
Nathan Guse
2013-11-21 13:56:03 -08:00
3 changed files with 31 additions and 28 deletions

View File

@ -336,7 +336,7 @@ phpbb.ajaxify = function(options) {
$.ajax({
url: res.S_CONFIRM_ACTION,
type: 'POST',
data: data + '&confirm=' + res.YES_VALUE,
data: data + '&confirm=' + res.YES_VALUE + '&' + $('#phpbb_confirm form').serialize(),
success: returnHandler,
error: errorHandler
});