PDA

View Full Version : [FIXED] Code Defect - Ext.mixin.Selectable - Missed Renaming the Store Events



FBNitro
10 Jun 2015, 7:26 AM
I was searching for instances in my code where I referred to the store events from Touch 2.4.1. The following events were replaced: addrecords/removerecords/updaterecord with add/remove/update.

I happened to find in the Modern FW references to the old events in Ext.mixin.Selectable:


selectableEventHooks: {
addrecords: 'onSelectionStoreAdd',
removerecords: 'onSelectionStoreRemove',
updaterecord: 'onSelectionStoreUpdate',
load: 'refreshSelection',
refresh: 'refreshSelection'
},

Nope, I don't have a sample code or proof of a defect. But these events are gone, which leads me to believe this code is defective and something is lurking here.

evant
10 Jun 2015, 1:18 PM
Thanks for the post, this is already corrected in the latest code.