Project

General

Profile

Evolution #21440

Indicateur de chargement global terminé

Added by Christophe LEON over 2 years ago. Updated over 1 year 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 over 1 year ago

ref #21440 , ref #25060 , indicateur de chargement

History

#1 Updated by Christophe LEON over 2 years ago

  • Target version set to Envole 5.6

#2 Updated by Arnaud FORNEROT over 2 years ago

  • Target version changed from Envole 5.6 to Envole 5.7

#3 Updated by Arnaud FORNEROT over 2 years ago

  • Target version changed from Envole 5.7 to Envole 5.8

#4 Updated by Arnaud FORNEROT about 2 years ago

  • Target version deleted (Envole 5.8)

#5 Updated by Christophe LEON over 1 year 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 over 1 year ago

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

#7 Updated by Christophe LEON over 1 year ago

  • Status changed from Résolu to Réouvert

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

#8 Updated by Christophe LEON over 1 year ago

  • Status changed from Réouvert to Résolu

#9 Updated by Arnaud FORNEROT over 1 year ago

  • Status changed from Résolu to Fermé

Also available in: Atom PDF