Project

General

Profile

Evolution #21440

Indicateur de chargement global terminé

Added by Christophe LEON about 6 years ago. Updated almost 5 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Target version:
Start date:
09/19/2018
Due date:
% Done:

100%

Distribution:

Description

Disposer d'un indicateur qui détermine si le chargement ajax de toutes les ressources est terminée


Subtasks

Evolution #25060: [-49] Verrouiller le bureau jusqu'à son chargement completFerméChristophe LEON

Associated revisions

Revision 90015cb3 (diff)
Added by Christophe LEON almost 5 years ago

ref #21440 , ref #25060 , indicateur de chargement

History

#1 Updated by Christophe LEON almost 6 years ago

  • Target version set to Envole 5.6

#2 Updated by Arnaud FORNEROT almost 6 years ago

  • Target version changed from Envole 5.6 to Envole 5.7

#3 Updated by Arnaud FORNEROT almost 6 years ago

  • Target version changed from Envole 5.7 to Envole 5.8

#4 Updated by Arnaud FORNEROT over 5 years ago

  • Target version deleted (Envole 5.8)

#5 Updated by Christophe LEON almost 5 years ago

Deux événements ajoutés

edispatcher_loading_message: {message:"Texte du message", percent:pourcentage d'initialisation}
edispatcher_end_of_loading : indique la fin du chargement (ie STEP3 atteint sur tous les edispatcher-etab)

exemple d'implémentation samples/x3loading et samples/x3test

$(window).on("edispatcher_end_of_loading",function(){
$("#loadingPanel").fadeOut()
clearTimeout(timerMaxLoading);
})
$(window).on("edispatcher_loading_message",function(e,data){
$(".loading-message").html(data.message);
$(".progress-bar").css("width",data.percent+"%");
})
var timerMaxLoading = setTimeout(function(){
$("#loadingPanel").fadeOut()
},10000) // Max 10s d'affichage du panel

#6 Updated by Christophe LEON almost 5 years ago

  • Status changed from Accepté to Résolu
  • Target version set to Envole 5.12

#7 Updated by Christophe LEON almost 5 years ago

  • Status changed from Résolu to À valider

Avoir le même type événement pour le chargement des messages

#8 Updated by Christophe LEON almost 5 years ago

  • Status changed from À valider to Résolu

#9 Updated by Arnaud FORNEROT almost 5 years ago

  • Status changed from Résolu to Fermé

Also available in: Atom PDF