la version gulpée du dernier commit
This commit is contained in:
parent
ac6b6e1a9a
commit
14a23dc922
1 changed files with 19 additions and 19 deletions
|
@ -48,26 +48,26 @@ jQuery(function () {
|
|||
dataType: 'json',
|
||||
async: true
|
||||
}).done(function (retour) {
|
||||
if (parseInt(id) > 0) {
|
||||
app.rechargerJson(id);
|
||||
app.rechargerJson_deux(id);
|
||||
} else {
|
||||
app.rechargerJson();
|
||||
app.rechargerJson_deux();
|
||||
}
|
||||
|
||||
if (nomBlocAjaxReload !== undefined) {
|
||||
console.log('depart reload: ' + nomBlocAjaxReload);
|
||||
ajaxReload(nomBlocAjaxReload, {
|
||||
args: {
|
||||
id: id
|
||||
},
|
||||
callback: function callback() {}
|
||||
});
|
||||
}
|
||||
|
||||
if (Array.isArray(retour) && retour.message_erreur !== undefined) {
|
||||
if (!$.isEmptyObject(retour) && !$.isEmptyObject(retour.message_erreur)) {
|
||||
alert(retour.message_erreur);
|
||||
} else {
|
||||
if (parseInt(id) > 0) {
|
||||
app.rechargerJson(id);
|
||||
app.rechargerJson_deux(id);
|
||||
} else {
|
||||
app.rechargerJson();
|
||||
app.rechargerJson_deux();
|
||||
}
|
||||
|
||||
if (nomBlocAjaxReload !== undefined) {
|
||||
console.log('depart reload: ' + nomBlocAjaxReload);
|
||||
ajaxReload(nomBlocAjaxReload, {
|
||||
args: {
|
||||
id: id
|
||||
},
|
||||
callback: function callback() {}
|
||||
});
|
||||
}
|
||||
}
|
||||
});
|
||||
}); // lancement d'une modalbox
|
||||
|
|
Loading…
Add table
Reference in a new issue