X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/2e847cf21b8ab9d15fa167b315ca5b2fa92638fc..e9397f91ede62d446aed37d23256e8938fc4c335:/docs/source/EventManager-more.html?ds=sidebyside diff --git a/docs/source/EventManager-more.html b/docs/source/EventManager-more.html index 0ed6e0a8..c9c51649 100644 --- a/docs/source/EventManager-more.html +++ b/docs/source/EventManager-more.html @@ -1,12 +1,18 @@ - - - - The source code - - - - -
/**
+
+
+      
+  The source code
+    
+    
+
+
+    
/*!
+ * Ext JS Library 3.3.1
+ * Copyright(c) 2006-2010 Sencha Inc.
+ * licensing@sencha.com
+ * http://www.sencha.com/license
+ */
+/**
 * @class Ext.EventManager
 */
 Ext.apply(Ext.EventManager, function(){
@@ -110,6 +116,11 @@ Ext.apply(Ext.EventManager, function(){
         * 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.
@@ -315,7 +326,7 @@ Ext.apply(Ext.EventObjectImpl.prototype, {
        this.isNavKeyPress() ||
        (k == this.BACKSPACE) || // Backspace
        (k >= 16 && k <= 20) || // Shift, Ctrl, Alt, Pause, Caps Lock
-       (k >= 44 && k <= 45);   // Print Screen, Insert
+       (k >= 44 && k <= 46);   // Print Screen, Insert, Delete
    },
 
    getPoint : function(){
@@ -329,6 +340,6 @@ Ext.apply(Ext.EventObjectImpl.prototype, {
    hasModifier : function(){
        return ((this.ctrlKey || this.altKey) || this.shiftKey);
    }
-});
- +});
+ \ No newline at end of file