Open gabrielstuff opened 11 years ago
http://api.jquery.com/deferred.fail/
data:{ error: true, msg:["blabla", "aoskao"] }
when it is ok :
data:{ error: false, msg:["blabla, aoskao"], content:{} }
Added .fail()... Actually only work when PHP has error, but not when python exec script fail.
if python fail, then python script should return an error, and php should get it :)
http://api.jquery.com/deferred.fail/
when it is ok :