c'est un objet
This commit is contained in:
parent
85e248ed95
commit
4cb2349efb
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ jQuery(function () {
|
||||||
callback: function () {},
|
callback: function () {},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
if (Array.isArray(retour) && typeof retour.message_erreur !== 'undefined') {
|
if (!$.isEmptyObject(retour) && !$.isEmptyObject(retour.message_erreur)) {
|
||||||
alert(retour.message_erreur);
|
alert(retour.message_erreur);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Reference in a new issue