git.ithinksw.org
/
extjs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Upgrade to ExtJS 3.3.1 - Released 11/30/2010
[extjs.git]
/
src
/
core
/
EventManager-more.js
diff --git
a/src/core/EventManager-more.js
b/src/core/EventManager-more.js
index
fed4ed9
..
f5a39d2
100644
(file)
--- a/
src/core/EventManager-more.js
+++ b/
src/core/EventManager-more.js
@@
-1,8
+1,8
@@
/*!
/*!
- * Ext JS Library 3.
1
.1
- * Copyright(c) 2006-2010
Ext JS, LLC
- * licensing@
extjs
.com
- * http://www.
extjs
.com/license
+ * Ext JS Library 3.
3
.1
+ * Copyright(c) 2006-2010
Sencha Inc.
+ * licensing@
sencha
.com
+ * http://www.
sencha
.com/license
*/
/**
* @class Ext.EventManager
*/
/**
* @class Ext.EventManager
@@
-108,6
+108,11
@@
Ext.apply(Ext.EventManager, function(){
* Url used for onDocumentReady with using SSL (defaults to Ext.SSL_SECURE_URL)
*/
ieDeferSrc : false,
* Url used for onDocumentReady with using SSL (defaults to Ext.SSL_SECURE_URL)
*/
ieDeferSrc : false,
+
+ // protected, short accessor for useKeydown
+ getKeyEvent : function(){
+ return useKeydown ? 'keydown' : 'keypress';
+ },
// protected for use inside the framework
// detects whether we should use keydown or keypress based on the browser.
// protected for use inside the framework
// detects whether we should use keydown or keypress based on the browser.
@@
-313,7
+318,7
@@
Ext.apply(Ext.EventObjectImpl.prototype, {
this.isNavKeyPress() ||
(k == this.BACKSPACE) || // Backspace
(k >= 16 && k <= 20) || // Shift, Ctrl, Alt, Pause, Caps Lock
this.isNavKeyPress() ||
(k == this.BACKSPACE) || // Backspace
(k >= 16 && k <= 20) || // Shift, Ctrl, Alt, Pause, Caps Lock
- (k >= 44 && k <= 4
5); // Print Screen, Insert
+ (k >= 44 && k <= 4
6); // Print Screen, Insert, Delete
},
getPoint : function(){
},
getPoint : function(){