X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/25ef3491bd9ae007ff1fc2b0d7943e6eaaccf775..92c2b89db26be16707f4a805d3303ab2531006e1:/src/util/KeyNav.js?ds=sidebyside diff --git a/src/util/KeyNav.js b/src/util/KeyNav.js index 8c08493a..ee026240 100644 --- a/src/util/KeyNav.js +++ b/src/util/KeyNav.js @@ -1,6 +1,6 @@ /*! - * Ext JS Library 3.0.3 - * Copyright(c) 2006-2009 Ext JS, LLC + * Ext JS Library 3.1.1 + * Copyright(c) 2006-2010 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