mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-25 06:09:55 +09:00
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:
parent
912a1810dd
commit
cd6383c93c
3 changed files with 20 additions and 12 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue