Ext.define('Ext.patch,EXTJS16166', {
override: 'Ext.view.View',
compatibility: '5.1.0.107',
handleEvent: function(e) {
var me = this,
isKeyEvent = me.keyEventRe.test(e.type),
nm = me.getNavigationModel();
e.view = me;
if (isKeyEvent) {
e.item = nm.getItem();
e.record = nm.getRecord();
}
if (!e.item) {
e.item = e.getTarget(me.itemSelector);
}
if (e.item && !e.record) {
e.record = me.getRecord(e.item);
}
if (me.processUIEvent(e) !== false) {
me.processSpecialEvent(e);
}
if (isKeyEvent && !Ext.fly(e.target).isInputField()) {
if (e.getKey() === e.SPACE || e.isNavKeyPress(true)) {
e.preventDefault();
}
}
}
});
댓글 없음:
댓글 쓰기