PDA

View Full Version : [DUP] When button is clicked handler is not executing



oddz
14 Oct 2011, 10:40 AM
The handler function does not seem to be getting called when the button is clicked - bug or am I doing something wrong?

Browser: Chrome 14.0.835.202



Ext.application({
name: 'foo',
launch: function() {

Ext.Viewport.add(Ext.widget('button',{text: 'Test',handler: function() { alert('hello'); }}));

}
}

Jamie Avins
15 Oct 2011, 8:31 AM
Thank you for the report.

tobiu
15 Oct 2011, 9:02 AM
Ext.application({
name: 'foo',
launch: function() {

Ext.Viewport.add(Ext.widget('button',{text: 'Test',handler: function() { alert('hello'); }}));

}
});


does work for me with chrome.

oddz
15 Oct 2011, 11:27 AM
This can probably be closed considering TOUCH-874 is more specific.

leebyeungok
21 Oct 2011, 4:13 PM
I can just see the alert.... but I can't see Any of panel... component ....

I Use Chrome Browser ... 14.0.835.202

leebyeungok
21 Oct 2011, 4:32 PM
hmm.... Is the Using Examples which include phone picture .. Full source??