This line of code is what I have in a Sencha TOuch 1.1 app:
var a=Ext.createDelegate(photoSuccess,this,[],true);
How the heck I can do the same in Sencha Touch 2? I tried this wit no luck:
var a=Ext.bind(photoSuccess,this);
Thanks!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
A valid representation of
is
or just
Here is a working example
In other words, your call should work