mirror of
https://github.com/phpbb/phpbb.git
synced 2025-04-05 00:13:29 +02:00
Merge branch '3.2.x'
* 3.2.x: [ticket/15006] Pass inherit settings to form and use correct button
This commit is contained in:
commit
aa7ca1993d
@ -280,10 +280,11 @@ function submitPermissions() {
|
||||
$.ajax({
|
||||
url: $form.action,
|
||||
type: 'POST',
|
||||
data: formData + '&' + $submitAllButton.name + '=' + encodeURIComponent($submitAllButton.value) +
|
||||
data: formData + '&' + $submitButton.name + '=' + encodeURIComponent($submitButton.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.children('input[type=hidden]').serialize(),
|
||||
'&' + $form.children('input[type=hidden]').serialize() +
|
||||
'&' + $form.find('input[type=checkbox][name^=inherit]').serialize(),
|
||||
success: handlePermissionReturn,
|
||||
error: handlePermissionReturn
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user