X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/25ef3491bd9ae007ff1fc2b0d7943e6eaaccf775..f5240829880f87e0cf581c6a296e436fdef0ef80:/docs/source/KeyNav.html diff --git a/docs/source/KeyNav.html b/docs/source/KeyNav.html index cde8682a..cba9cd86 100644 --- a/docs/source/KeyNav.html +++ b/docs/source/KeyNav.html @@ -1,13 +1,14 @@
+/*! - * Ext JS Library 3.0.3 - * Copyright(c) 2006-2009 Ext JS, LLC + * Ext JS Library 3.3.0 + * Copyright(c) 2006-2010 Ext JS, Inc. * licensing@extjs.com * http://www.extjs.com/license */ @@ -68,8 +69,8 @@ Ext.KeyNav.prototype = { // private relay : function(e){ - var k = e.getKey(); - var h = this.keyToHandler[k]; + var k = e.getKey(), + h = this.keyToHandler[k]; if(h && this[h]){ if(this.doRelay(e, this[h], h) !== true){ e[this.defaultEventAction](); @@ -79,7 +80,7 @@ Ext.KeyNav.prototype = { // private doRelay : function(e, h, hname){ - return h.call(this.scope || this, e); + return h.call(this.scope || this, e, hname); }, // possible handlers @@ -121,6 +122,13 @@ Ext.KeyNav.prototype = { e.stopEvent(); } }, + + /** + * Destroy this KeyNav (this is the same as calling disable). + */ + destroy: function(){ + this.disable(); + }, /** * Enable this KeyNav @@ -165,6 +173,6 @@ Ext.KeyNav.prototype = { return this.forceKeyDown || Ext.EventManager.useKeydown; } }; -+ \ No newline at end of file