Animazione di caricamento piano dei conti
This commit is contained in:
parent
9e83ba87ee
commit
ee4f384066
|
@ -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();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue