fixed ie6 url jump bug
This commit is contained in:
parent
4c41d4ebe8
commit
91bdc31f2d
|
@ -12,10 +12,11 @@ $.ajax({
|
||||||
window.location.href="<?= $this->url ?>";
|
window.location.href="<?= $this->url ?>";
|
||||||
},
|
},
|
||||||
'beforeSend':function(){
|
'beforeSend':function(){
|
||||||
|
$('#loading').html('<img src="/static/img/loadingAnimation.gif" />');
|
||||||
},
|
},
|
||||||
'complete':function(){
|
'complete':function(){
|
||||||
window.location.href="<?= $this->url ?>";
|
window.location.href="<?= $this->url ?>";
|
||||||
|
$('#loading').html('<a href="<?= $this->url ?>">如果没有跳转请点击这里</a>');
|
||||||
},
|
},
|
||||||
'timeout': 20000,
|
'timeout': 20000,
|
||||||
'error': function(){
|
'error': function(){
|
||||||
|
@ -32,5 +33,8 @@ $(location).attr("href",url);
|
||||||
<div class="row-fluit">
|
<div class="row-fluit">
|
||||||
<div class="hero" style="font-size:16px;text-align:center;">
|
<div class="hero" style="font-size:16px;text-align:center;">
|
||||||
系统正在为您跳转
|
系统正在为您跳转
|
||||||
|
</div>
|
||||||
|
<div id="loading" style="text-align:center">
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
Loading…
Reference in New Issue