Commit a0ecc1c4 authored by Raph El's avatar Raph El
Browse files

Hotfix

parent 05abcd64
......@@ -100,7 +100,9 @@ var agenda = {
success: function(data){
mylog.log("agenda.searchNextEvent success", data);
if(Object.keys(data).length){
//$("#dropdown_search .processingLoader").remove();
$.each(data, function(keyE, valE){
// mylog.log("agenda.searchNextEvent success each", valE.startDate );
// mylog.log("agenda.searchNextEvent success each", valE.startDate.sec );
var datestart = valE.startDate.sec*1000 ;
......@@ -115,7 +117,7 @@ var agenda = {
agenda.dayCount += days;
agenda.nbSearch = 0;
agenda.searchDay(agenda.dayCount);
$("#dropdown_search .processingLoader").remove();
});
} else {
$(".search-loader").remove();
......
......@@ -224,13 +224,15 @@ function autoCompleteSearch(indexMin, indexMax, callBack, notUrl){
$("#dropdown_search").html(str);
}else{
$(".search-loader").remove();
$("#dropdown_search .processingLoader").remove();
$("#dropdown_search").append(str);
}
}
//<<<<<<< HEAD
} else {
} else {
$("#dropdown_search .processingLoader").remove();
//CHARGEMENT DE TYPE SCROLL => ALL ELEMENTS OR MORE THAN ONE TYPE
//si on n'est pas sur une première recherche (chargement de la suite des résultat)
if(indexMin > 0 && (typeof pageEvent == "undefined" || !pageEvent)){
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment