PDA

View Full Version : Safari Issues (Event not firing)



Natkeeran
9 Feb 2010, 9:08 AM
Hi:

A listener is attached to a Checkbox. It will fire on change. It works as expected in FF and IE. But in Safari, it does not fire. Any suggestions.


{ header: 'Tested',
tooltip : 'Have all lamps been individually tested?',
width: 35,
sortable: true,
align : 'center',
dataIndex: 'Tested',
trueText: 'Yes',
falseText: 'No',
editor: new Ext.form.Checkbox({
id: 'Tested',
boxLabel: '',
listeners: {
'change': function(checkbox, checked) {
if (checked == false){
Ext.MessageBox.alert('', "All lamps should have been tested.");
this.setValue(true);
}
}
}
})
},