hi the json I get from my Ajex.request is:
{"message":"no access","success":false,"code":null}nul
but still it goes in the function called on success
Ext.Ajax.request({
url: '../services.php,
success: function(){
alert('success')
},
disableCaching: true
});
I thought it should go into failure when when false is returned
Thanks for help
Torsten
See "how are responses handled....?" here: http://extjs.com/forum/showthread.php?p=135403#post135403
Is the "nul" you have at the end of your JSON response a typo? Also, I looked at my JSON response and the only difference is my success field is the very first field on the response. You may want to try that.
Challenging Books For A 14 Year Old?
First guitar : acoustic or electric?
|