diff options
author | Fabio Bas <ctrlaltca@gmail.com> | 2014-01-29 21:41:52 +0100 |
---|---|---|
committer | Fabio Bas <ctrlaltca@gmail.com> | 2014-01-29 21:41:52 +0100 |
commit | ae5c423e6b5fb35116369d4dd865606541276207 (patch) | |
tree | 2359abc54188ef762575e23b9e5937692f2f0571 /framework/Web | |
parent | d8c20ad55a9a0b5b0b310020d599af667792d94c (diff) |
Restored Prado.Element.focus()
Diffstat (limited to 'framework/Web')
-rw-r--r-- | framework/Web/Javascripts/source/prado/prado.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/framework/Web/Javascripts/source/prado/prado.js b/framework/Web/Javascripts/source/prado/prado.js index 1d69a034..f0eb256f 100644 --- a/framework/Web/Javascripts/source/prado/prado.js +++ b/framework/Web/Javascripts/source/prado/prado.js @@ -412,6 +412,11 @@ Prado.Element = }, op.duration); }, + focus : function(element) + { + jQuery("#"+element).focus(); + }, + /** * Sets the options for a select element. * @function ? |