1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-28 04:20:32 +02:00

[ticket/12001] Ensure that form data is sent to server in AJAX requests.

PHPBB3-12001
This commit is contained in:
Cesar G
2013-11-08 06:13:55 -08:00
parent 082a467cc8
commit 253f8d7593
3 changed files with 31 additions and 28 deletions

View File

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