aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/adm/style
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2016-12-18 15:18:52 +0100
committerMarc Alexander <admin@m-a-styles.de>2016-12-18 15:18:52 +0100
commit573507e6a59767c216532b722e9fa07514c343b8 (patch)
tree7e1fa001f8bfaf82b2dcc47665adc50da5201192 /phpBB/adm/style
parentb6ea3383098756d5905af9ef1cad98056588ea76 (diff)
downloadforums-573507e6a59767c216532b722e9fa07514c343b8.tar
forums-573507e6a59767c216532b722e9fa07514c343b8.tar.gz
forums-573507e6a59767c216532b722e9fa07514c343b8.tar.bz2
forums-573507e6a59767c216532b722e9fa07514c343b8.tar.xz
forums-573507e6a59767c216532b722e9fa07514c343b8.zip
[ticket/14922] Make sure to pass hidden input on ajax form submissions
PHPBB3-14922
Diffstat (limited to 'phpBB/adm/style')
-rw-r--r--phpBB/adm/style/ajax.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/adm/style/ajax.js b/phpBB/adm/style/ajax.js
index 7ddd2d3742..a7ecf8ff7b 100644
--- a/phpBB/adm/style/ajax.js
+++ b/phpBB/adm/style/ajax.js
@@ -175,7 +175,8 @@ function submitPermissions() {
type: 'POST',
data: formData + '&' + $submitAllButton.name + '=' + encodeURIComponent($submitAllButton.value) +
'&creation_time=' + $form.find('input[type=hidden][name=creation_time]')[0].value +
- '&form_token=' + $form.find('input[type=hidden][name=form_token]')[0].value,
+ '&form_token=' + $form.find('input[type=hidden][name=form_token]')[0].value +
+ '&' + $form.children('input[type=hidden]').serialize(),
success: handlePermissionReturn,
error: handlePermissionReturn
});