summaryrefslogtreecommitdiff
path: root/framework/Web/Javascripts/source
diff options
context:
space:
mode:
authorFabio Bas <ctrlaltca@gmail.com>2014-01-29 21:41:52 +0100
committerFabio Bas <ctrlaltca@gmail.com>2014-01-29 21:41:52 +0100
commitae5c423e6b5fb35116369d4dd865606541276207 (patch)
tree2359abc54188ef762575e23b9e5937692f2f0571 /framework/Web/Javascripts/source
parentd8c20ad55a9a0b5b0b310020d599af667792d94c (diff)
Restored Prado.Element.focus()
Diffstat (limited to 'framework/Web/Javascripts/source')
-rw-r--r--framework/Web/Javascripts/source/prado/prado.js5
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 ?