Threaded View
-
11 Sep 2009 7:13 AM #1
[FIXED-598][3.x/2.x] isSpecialKey() does not include the DELETE key
[FIXED-598][3.x/2.x] isSpecialKey() does not include the DELETE key
The following mask was preventing the DELETE key from executing normally:
Overrode the isSpecialKey function to include DELETE.Code:maskRe: /[a-zA-Z\'\- ]/
Code:Ext.EventObjectImpl.prototype.isSpecialKey = function() { var k = this.keyCode; k = Ext.isSafari ? (safariKeys[k] || k) : k; return (this.type == 'keypress' && this.ctrlKey) || this.isNavKeyPress() || (k == this.BACKSPACE) || // Backspace (k == this.DELETE) || // Delete -- Currently not implemented, can also change 45 to 46 below to include it as well. (k >= 16 && k <= 20) || // Shift, Ctrl, Alt, Pause, Caps Lock (k >= 44 && k <= 45); // Print Screen, Insert };Last edited by mystix; 11 Sep 2009 at 11:08 AM. Reason: moved to 3.x Bugs from 2.x Bugs
You found a bug! We've classified it as
a bug in our system.
We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.


Reply With Quote