This commit is contained in:
Kevin Adametz 2020-05-06 15:52:59 +02:00
parent 68b9d1ff88
commit b9c26d06d0
75 changed files with 2143 additions and 818 deletions

View file

@ -196,11 +196,13 @@ function ajax_object_action(event, object, callback) {
event.preventDefault();
var data = {};
$.each(object.data(), function(index, value){
data[index] = value;
if(typeof value !== 'object'){
data[index] = value;
}
});
var url = data['url'];
//console.log(data);
//console.log(url);
console.log(data);
console.log(url);
$.ajax({
url: url,
data: data,