summaryrefslogtreecommitdiff
path: root/framework/Web
diff options
context:
space:
mode:
authorxue <>2007-08-27 21:23:33 +0000
committerxue <>2007-08-27 21:23:33 +0000
commit5e3caed030722be404c1b56f2af1e149799b5eda (patch)
treec6384e61ad15803d2f5e20cf0d356d2788dc56cb /framework/Web
parentd168b3508064ccfb7f1ebf635c0ba71734750ced (diff)
Added tutorial for TKeyboard.
Diffstat (limited to 'framework/Web')
-rw-r--r--framework/Web/Javascripts/source/prado/controls/controls.js3
-rw-r--r--framework/Web/UI/WebControls/TKeyboard.php4
2 files changed, 2 insertions, 5 deletions
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
diff --git a/framework/Web/UI/WebControls/TKeyboard.php b/framework/Web/UI/WebControls/TKeyboard.php
index 4ff15613..bc701331 100644
--- a/framework/Web/UI/WebControls/TKeyboard.php
+++ b/framework/Web/UI/WebControls/TKeyboard.php
@@ -6,7 +6,7 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2007 PradoSoft
* @license http://www.pradosoft.com/license/
- * @version $Id: $
+ * @version $Id$
* @package System.Web.UI.WebControls
* @since 3.1.1
*/
@@ -33,7 +33,7 @@
* also be changed by specifying {@link setKeyboardCssClass KeyboardCssClass}.
*
* @author Sergey Morkovkin <sergeymorkovkin@mail.ru> and Qiang Xue <qiang.xue@gmail.com>
- * @version $Id: $
+ * @version $Id$
* @since 3.1.1
*/
class TKeyboard extends TWebControl