Miglioramento richiesta AJAX per righe
This commit is contained in:
parent
1298a321a0
commit
91b51b4f7c
|
@ -397,7 +397,8 @@ function caricaRighe() {
|
||||||
let container = $("#righe");
|
let container = $("#righe");
|
||||||
|
|
||||||
localLoading(container, true);
|
localLoading(container, true);
|
||||||
return container.load("'.$structure->fileurl('row-list.php').'?id_module='.$id_module.'&id_record='.$id_record.'", function() {
|
return $.get("'.$structure->fileurl('row-list.php').'?id_module='.$id_module.'&id_record='.$id_record.'", function(data) {
|
||||||
|
container.html(data);
|
||||||
localLoading(container, false);
|
localLoading(container, false);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -409,7 +409,8 @@ function caricaRighe() {
|
||||||
let container = $("#righe");
|
let container = $("#righe");
|
||||||
|
|
||||||
localLoading(container, true);
|
localLoading(container, true);
|
||||||
return container.load("'.$structure->fileurl('row-list.php').'?id_module='.$id_module.'&id_record='.$id_record.'", function() {
|
return $.get("'.$structure->fileurl('row-list.php').'?id_module='.$id_module.'&id_record='.$id_record.'", function(data) {
|
||||||
|
container.html(data);
|
||||||
localLoading(container, false);
|
localLoading(container, false);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -866,7 +866,8 @@ function caricaRighe() {
|
||||||
let container = $("#righe");
|
let container = $("#righe");
|
||||||
|
|
||||||
localLoading(container, true);
|
localLoading(container, true);
|
||||||
return container.load("'.$structure->fileurl('row-list.php').'?id_module='.$id_module.'&id_record='.$id_record.'", function() {
|
return $.get("'.$structure->fileurl('row-list.php').'?id_module='.$id_module.'&id_record='.$id_record.'", function(data) {
|
||||||
|
container.html(data);
|
||||||
localLoading(container, false);
|
localLoading(container, false);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -496,7 +496,8 @@ function caricaRighe() {
|
||||||
let container = $("#righe");
|
let container = $("#righe");
|
||||||
|
|
||||||
localLoading(container, true);
|
localLoading(container, true);
|
||||||
return container.load("'.$structure->fileurl('row-list.php').'?id_module='.$id_module.'&id_record='.$id_record.'", function() {
|
return $.get("'.$structure->fileurl('row-list.php').'?id_module='.$id_module.'&id_record='.$id_record.'", function(data) {
|
||||||
|
container.html(data);
|
||||||
localLoading(container, false);
|
localLoading(container, false);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -508,7 +509,8 @@ function caricaTecnici() {
|
||||||
let container = $("#tecnici");
|
let container = $("#tecnici");
|
||||||
|
|
||||||
localLoading(container, true);
|
localLoading(container, true);
|
||||||
return container.load("'.$structure->fileurl('ajax_tecnici.php').'?id_module='.$id_module.'&id_record='.$id_record.'", function() {
|
return $.get("'.$structure->fileurl('ajax_tecnici.php').'?id_module='.$id_module.'&id_record='.$id_record.'", function(data) {
|
||||||
|
container.html(data);
|
||||||
localLoading(container, false);
|
localLoading(container, false);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -520,7 +522,8 @@ function caricaCosti() {
|
||||||
let container = $("#costi");
|
let container = $("#costi");
|
||||||
|
|
||||||
localLoading(container, true);
|
localLoading(container, true);
|
||||||
return container.load("'.$structure->fileurl('ajax_costi.php').'?id_module='.$id_module.'&id_record='.$id_record.'", function() {
|
return $.get("'.$structure->fileurl('ajax_costi.php').'?id_module='.$id_module.'&id_record='.$id_record.'", function(data) {
|
||||||
|
container.html(data);
|
||||||
localLoading(container, false);
|
localLoading(container, false);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -288,7 +288,8 @@ function caricaRighe() {
|
||||||
let container = $("#righe");
|
let container = $("#righe");
|
||||||
|
|
||||||
localLoading(container, true);
|
localLoading(container, true);
|
||||||
return container.load("'.$structure->fileurl('row-list.php').'?id_module='.$id_module.'&id_record='.$id_record.'", function() {
|
return $.get("'.$structure->fileurl('row-list.php').'?id_module='.$id_module.'&id_record='.$id_record.'", function(data) {
|
||||||
|
container.html(data);
|
||||||
localLoading(container, false);
|
localLoading(container, false);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -295,7 +295,8 @@ function caricaRighe() {
|
||||||
let container = $("#righe");
|
let container = $("#righe");
|
||||||
|
|
||||||
localLoading(container, true);
|
localLoading(container, true);
|
||||||
return container.load("'.$structure->fileurl('row-list.php').'?id_module='.$id_module.'&id_record='.$id_record.'", function() {
|
return $.get("'.$structure->fileurl('row-list.php').'?id_module='.$id_module.'&id_record='.$id_record.'", function(data) {
|
||||||
|
container.html(data);
|
||||||
localLoading(container, false);
|
localLoading(container, false);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue