Commit cf2c64a4 authored by lucas64500's avatar lucas64500

Avancées...

parent 6e2782a5
......@@ -62,7 +62,7 @@ function getCourbes(action,id){
}
else{//Charger courbe i
getHistoryHive(id,p[i],debut,fin,function(data){auxC(id,i+1,data);});
getHistoryHive(id,p[i],debut,fin,function(data){auxC(id,i+1,data);},function(){finCharge();});
}
}
auxC(id,0,{});
......@@ -228,7 +228,7 @@ function allerCourbe(k){
* @string fin : datetime in format dd/MM/yyyy%20hh:mm:ss
*/
function getHistoryHive(id,params, debut, fin,action) {
function getHistoryHive(id,params, debut, fin,action,err) {
$.ajax({
type: 'GET',
url: url+'pshive/' + id + '/log?params=' + params + '&debut=' + debut + '&fin=' + fin,
......@@ -241,6 +241,7 @@ function getHistoryHive(id,params, debut, fin,action) {
},
error: function (xhr, ajaxOptions, thrownError) {
//what to do on error
err();
}
});
}
......@@ -13,7 +13,7 @@ function PageSlider(container,pageinit,reserve,classPage) {
var container = container;
var currentPage=pageinit;
this.currentPageName=$(pageinit).attr("id");
var exclureHisto=["pajoutnotepersonnalisee"];
var exclureHisto=["pajoutnotepersonnalisee","pajoutnote"];
this.enTransition=false;
var hist = [];
......
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