[FIXED][2.x] Ext.grid.RowSelectionModel.selectRow called twice when click on row
I have GridPanel with enableDragDrop and Ext.grid.RowSelectionModel.
I want to store selection server-side. I need to override Ext.grid.RowSelectionModel.selectRow to do some AJAX about selection change.
My grid calls selectRow twice on single click into row on FF, Opera and Safari. On IE it is called only once.
Ext.grid.RowSelectionModel.initEvents defines rowclick event handler. This causes redundant second call to selectRow. The first call to selectRow was previously done in Ext.grid.RowSelectionModel.handleMouseDown (and I hope this is right place where to handle selections).
Maybe this rowclick event is there for some good reason, but in my case it causes troubles and I don't want to clutter my code with detections of redundant selectRow calls. I've just commented it out.