From 5e3caed030722be404c1b56f2af1e149799b5eda Mon Sep 17 00:00:00 2001 From: xue <> Date: Mon, 27 Aug 2007 21:23:33 +0000 Subject: Added tutorial for TKeyboard. --- framework/Web/Javascripts/source/prado/controls/controls.js | 3 --- 1 file changed, 3 deletions(-) (limited to 'framework/Web/Javascripts/source') diff --git a/framework/Web/Javascripts/source/prado/controls/controls.js b/framework/Web/Javascripts/source/prado/controls/controls.js index 8975a7a2..c4dcf562 100644 --- a/framework/Web/Javascripts/source/prado/controls/controls.js +++ b/framework/Web/Javascripts/source/prado/controls/controls.js @@ -457,7 +457,6 @@ Prado.WebUI.TKeyboard.prototype = type : function(key) { - var input = this.forControl; var command = key.toLowerCase(); @@ -474,7 +473,6 @@ Prado.WebUI.TKeyboard.prototype = } if (command != 'exit') input.focus(); - }, saveSelection : function() @@ -493,7 +491,6 @@ Prado.WebUI.TKeyboard.prototype = if (value == 'bksp') {this.selection.moveStart("character", -1); this.selection.text = '';} else if (value == 'del') {this.selection.moveEnd("character", 1); this.selection.text = '';} else {this.selection.text = value;} - this.selection.select(); } else -- cgit v1.2.3