View Full Version : [FNR] Ctrl+C and ctrl+V did not work in numberField with firefox 3.6.13
I didn't manage to copy/paste number from number field with key ctrl+C and ctrl+V on firefox 3.6.13
you can try with the number field in the column price here :
http://www.sencha.com/examples/pages/grid/editable.html
maybe the bug affect other firefox's version.
it work with Chrome
I also noticed this issue. I found this useful topic http://www.sencha.com/forum/showthread.php?52853-FIXED-1.1.3-Firefox3-NumberField-suppresses-Ctrl-C-Ctrl-V-shortcuts
Then i've applied next fix to SpinnerField onKeyPress method:
@Override
protected void onKeyPress(FieldEvent fe) {
super.onKeyPress(fe);
if (fe.isSpecialKey(getKeyCode(fe.getEvent()))
// here the fix is to check whether the control key is pressed in FireFox
|| fe.isControlKey()) {
return;
}
char key = getChar(fe.getEvent());
if (!allowed.contains(key)) {
fe.stopEvent();
}
}
This should be fixed in SVN now as of revision 2410
Powered by vBulletin® Version 4.1.5 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.