Fixes related to Issue 1253 is merged from the luminous branch

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.3.2@11200 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
nagoon97 2012-09-11 01:24:50 +00:00
parent c953abb0ba
commit b5da5df1e6
3 changed files with 34 additions and 12 deletions

View file

@ -189,14 +189,21 @@ jQuery(function($) {
$(this).hide().prev('button').show().parent().next(fold_container).hide();
});
}
jQuery('input[type="submit"]').click(function(ev){
jQuery(ev.currentTarget).attr('disabled', 'disabled');
setTimeout(function($el){
var $el = jQuery(ev.currentTarget);
setTimeout(function(){
return function(){
$el.attr('disabled', 'disabled');
};
}(), 0);
setTimeout(function(){
return function(){
$el.removeAttr('disabled');
};
}(jQuery(ev.currentTarget)), 3000);
}(), 3000);
});
});