novosmt
6 Apr 2012, 5:18 PM
Hi,
I am calling the "handleBackNextBtn" function from the listener code (see below)... I am getting an "Object [object Object] has no method 'handleBackNextBtn" error in the handleBackNextBtn function. Thoughts ?
launch: function() {
topic1Carousel = Ext.create("POS.view.Topic1", {
listeners: {
activeitemchange: function(view, record) {
this.handleBackNextBtn(topic1Carousel);
}
}
});
}
handleBackNextBtn: function(obj) {
console.log(obj);
}
Steve
I am calling the "handleBackNextBtn" function from the listener code (see below)... I am getting an "Object [object Object] has no method 'handleBackNextBtn" error in the handleBackNextBtn function. Thoughts ?
launch: function() {
topic1Carousel = Ext.create("POS.view.Topic1", {
listeners: {
activeitemchange: function(view, record) {
this.handleBackNextBtn(topic1Carousel);
}
}
});
}
handleBackNextBtn: function(obj) {
console.log(obj);
}
Steve