Animazione di caricamento piano dei conti

This commit is contained in:
Thomas Zilio 2019-07-15 09:34:14 +02:00
parent 9e83ba87ee
commit ee4f384066
2 changed files with 5 additions and 2 deletions

View File

@ -288,6 +288,8 @@ function add_conto(id) {
}
function load_movimenti(selector, id_conto) {
$("#main_loading").show();
$.ajax({
url: "'.$structure->fileurl('dettagli_conto.php').'",
type: "get",
@ -297,8 +299,9 @@ function load_movimenti(selector, id_conto) {
},
success: function(data){
$("#" + selector).html(data);
$("#" + selector).slideToggle();
$("#main_loading").fadeOut();
}
});
}

View File

@ -42,7 +42,7 @@ class FileManager implements ManagerInterface
<div class="panel-heading">
<h3 class="panel-title">'.tr('Allegati').'</h3>
</div>
<div class="panel-body"><div id="loading_'.$attachment_id.'" class="text-center hide" style="position:relative;top:100px;z-index:2;opacity:0.5;" ><i class="fa fa-refresh fa-spin fa-3x fa-fw"></i><span class="sr-only">'.tr('Caricamento...').'</span></div>';
<div class="panel-body"><div id="loading_'.$attachment_id.'" class="text-center hide" style="position:relative;top:100px;z-index:2;opacity:0.5;"><i class="fa fa-refresh fa-spin fa-3x fa-fw"></i><span class="sr-only">'.tr('Caricamento...').'</span></div>';
}
$count = 0;