Update resources/js/member_management_groups.js

This commit is contained in:
anghenfil 2023-06-21 22:01:51 +00:00
parent cda9a16899
commit 0b56c6d198

View File

@ -40,7 +40,7 @@ GroupModule = ( function() {
type: "GET",
url: "/api/groups/states",
contentType: 'application/json',
timeout: 3000,
timeout: 10000,
error: function () {
alert("Es ist ein Fehler aufgetreten!!");
},
@ -57,7 +57,7 @@ GroupModule = ( function() {
type: "GET",
url: "/api/groups/"+active_group_id+"?detailed",
contentType: 'application/json',
timeout: 3000,
timeout: 10000,
error: function () {
alert("Es ist ein Fehler aufgetreten!!");
},
@ -117,7 +117,7 @@ GroupModule = ( function() {
type: "PUT",
url: "/api/groups/"+$(this).data("group-id")+"/members/"+$(this).data("member-id")+"/state/"+this.value,
contentType: 'application/json',
timeout: 3000,
timeout: 10000,
error: function () {
alert("Es ist ein Fehler aufgetreten!!");
},
@ -167,7 +167,7 @@ GroupModule = ( function() {
url: "/api/groups",
contentType: 'application/json',
data: JSON.stringify(data),
timeout: 3000,
timeout: 10000,
error: function () {
alert("Es ist ein Fehler aufgetreten!!");
},
@ -222,7 +222,7 @@ GroupModule = ( function() {
url: "/api/groups",
contentType: 'application/json',
data: JSON.stringify(delete_list),
timeout: 3000,
timeout: 10000,
error: function () {
alert("Es ist ein Fehler aufgetreten!!");
},
@ -241,7 +241,7 @@ GroupModule = ( function() {
type: "PUT",
url: "/api/groups/"+group_id+"/members/"+member_id,
contentType: 'application/json',
timeout: 3000,
timeout: 10000,
error: function () {
alert("Es ist ein Fehler aufgetreten!!");
},
@ -279,7 +279,7 @@ GroupModule = ( function() {
type: "DELETE",
url: "/api/groups/"+active_group_id+"/members/"+member_to_delete,
contentType: 'application/json',
timeout: 3000,
timeout: 10000,
error: function () {
alert("Es ist ein Fehler aufgetreten!!");
},
@ -309,7 +309,7 @@ GroupModule = ( function() {
url: "/api/groups/"+active_group_id,
contentType: 'application/json',
data: JSON.stringify(group),
timeout: 3000,
timeout: 10000,
error: function () {
alert("Es ist ein Fehler aufgetreten!!");
},