Upgrade to ExtJS 3.1.0 - Released 12/16/2009
[extjs.git] / src / util / KeyNav.js
index 8c08493..eb35626 100644 (file)
@@ -1,5 +1,5 @@
 /*!
- * Ext JS Library 3.0.3
+ * Ext JS Library 3.1.0
  * Copyright(c) 2006-2009 Ext JS, LLC
  * licensing@extjs.com
  * http://www.extjs.com/license
@@ -114,6 +114,13 @@ Ext.KeyNav.prototype = {
             e.stopEvent();
         }
     },
+    
+    /**
+     * Destroy this KeyNav (this is the same as calling disable).
+     */
+    destroy: function(){
+        this.disable();    
+    },
 
        /**
         * Enable this KeyNav