summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
Diffstat (limited to 'framework')
-rw-r--r--framework/Web/Javascripts/source/prado/prado.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/framework/Web/Javascripts/source/prado/prado.js b/framework/Web/Javascripts/source/prado/prado.js
index 793326b0..0a1c485d 100644
--- a/framework/Web/Javascripts/source/prado/prado.js
+++ b/framework/Web/Javascripts/source/prado/prado.js
@@ -446,7 +446,11 @@ Prado.Element =
focus : function(element)
{
- setTimeout(function(){ jQuery("#"+element).focus(); }, 100);
+ jQuery(document).ajaxStop(function () {
+ setTimeout(function(){
+ jQuery("#"+element).focus();
+ }, 100);
+ });
},
/**