Issue2356: IE8 fix

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.3.2@11194 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
nagoon97 2012-09-10 08:09:00 +00:00
parent 912a1810dd
commit cd6383c93c
3 changed files with 20 additions and 12 deletions

View file

@ -190,6 +190,14 @@ jQuery(function($) {
});
}
jQuery('input[type="submit"]').click(function(ev){
jQuery(ev.currentTarget).attr('disabled', 'disabled');
setTimeout(function($el){
return function(){
$el.removeAttr('disabled');
};
}(jQuery(ev.currentTarget)), 3000);
});
});
(function(){ // String extension methods
@ -349,18 +357,18 @@ function sendMailTo(to) {
/**
* @brief url이동 (open_window 값이 N 아니면 새창으로 띄움)
**/
function move_url(url, open_wnidow) {
function move_url(url, open_window) {
if(!url) return false;
if(typeof(open_wnidow) == 'undefined') open_wnidow = 'N';
if(open_wnidow=='N') {
open_wnidow = false;
if(typeof(open_window) == 'undefined') open_window = 'N';
if(open_window=='N') {
open_window = false;
} else {
open_wnidow = true;
open_window = true;
}
if(/^\./.test(url)) url = request_uri+url;
if(open_wnidow) {
if(open_window) {
winopen(url);
} else {
location.href=url;