var k = e.getKey();
var c = e.getCharCode();
- if(
- [",", "."].indexOf(String.fromCharCode(c)) > -1 ||
- this.allowed.indexOf(String.fromCharCode(c)) === -1
- ){
- e.stopEvent();
- }
-
- // if(!Roo.isIE && (e.isSpecialKey() || k == e.BACKSPACE || k == e.DELETE)){
- // return;
- // }
if(this.allowed.indexOf(String.fromCharCode(c)) === -1){
e.stopEvent();
}