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