mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-01 20:04:51 +02:00
fixes #1690 name is sent properly to API
This commit is contained in:
@@ -89,7 +89,10 @@ jQuery(document).ready(function () {
|
||||
jQuery.ajax({
|
||||
url: "ws.php?format=json&method=pwg.groups.add",
|
||||
type: "POST",
|
||||
data: "name=" + name + "&pwg_token=" + pwg_token,
|
||||
data: {
|
||||
'name': name,
|
||||
'pwg_token': pwg_token,
|
||||
},
|
||||
success: function (raw_data) {
|
||||
loadState.reverse();
|
||||
data = jQuery.parseJSON(raw_data);
|
||||
|
||||
Reference in New Issue
Block a user