immediately delete rss image using ajax

git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12555 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
nagoon97 2013-01-15 05:31:12 +00:00
parent 58af552862
commit 1add50bc89
3 changed files with 35 additions and 3 deletions

View file

@ -1010,10 +1010,16 @@ jQuery(function($){
$.xeMsgBox.bVisible = true;
$.xeMsgBox._showFoggy();
$.xeMsgBox.fnOnShow();
if($msgBox.find('input').length > 0){
if($msgBox.find('input,button').length > 0){
setTimeout(function(){
$msgBox.find('input').focus()
$msgBox.find('input,button').each(function(n, el){
var $el = $(el);
if($el.is(":visible")){
$el.focus();
return false;
}
});
}, 0);
}
});