MVC - Actioncolumn Event fires twice
Hello,
after changing to 4.2.0 beta i have the following problem.
In the grid i have configured an action column like this:
PHP Code:
{
xtype : 'actioncolumn',
width : 20,
items : [
{
icon : 'system/icons/page_white_acrobat.png',
handler : function(grid, rowIndex, colIndex) {
this.fireEvent('show_pdf', this, grid, rowIndex, colIndex);
}
}
]
}
In the controller the init function looks like this:
PHP Code:
init: function() {
this.control({
'system_info actioncolumn': {
show_pdf: this.onShowPDF
}
})
},
onShowPDF: function(view, cell, row, col, e){
console.log('TEST')
}
The console logs the text 'TEST' twice, when the action column is clicked - in 4.1.1 it logs 'TEST' once.
Any tips?
Thanks in advance.
Michi