X-Git-Url: http://git.euphorik.ch/?p=euphorik.git;a=blobdiff_plain;f=js%2Futil.js;h=7ba8e6036992158cf4b3e5becceebc3f62744a95;hp=f5fca3f37b90407c8e56a5a18a6e070eb2798ad8;hb=0cca28444881b1a405525b10960915a638936fdd;hpb=8ee1535f5594573931ddaebee77bf6148a5358cb diff --git a/js/util.js b/js/util.js index f5fca3f..7ba8e60 100644 --- a/js/util.js +++ b/js/util.js @@ -117,6 +117,16 @@ euphorik.Util.prototype.afficherBoite = function(boite, cible, positionX, positi }; euphorik.Util.positionBulleType = {haut : 0, droite : 1, bas : 2, gauche : 3}; + +/** + * Affiche ou cache la barre d'attente. + */ +euphorik.Util.prototype.showWaitBar = function() { + $("#waitbar").show(); +}; +euphorik.Util.prototype.hideWaitBar = function() { + $("#waitbar").hide(); +}; /** * Affiche un info bulle lorsque le curseur survole l'élément donné. @@ -186,9 +196,9 @@ euphorik.Util.prototype.infoBulle = function(message, element, position) { * Utilisé pour l'envoie de données avec la méthode ajax de jQuery. * Obsolète : à virer */ -euphorik.Util.prototype.jsonVersAction = function(json) { +/*euphorik.Util.prototype.jsonVersAction = function(json) { return { action : JSON.stringify(json) }; -}; +};*/ /** * Retourne un hash md5 d'une chaine, dépend de md5.js.