update geonetwork login function
This commit is contained in:
parent
769fa37743
commit
321debadd2
|
@ -8,19 +8,19 @@ $.ajax({
|
|||
'url': "<?= $this->login?>",
|
||||
'data': $("#newsadd").serialize(),
|
||||
'success': function(data){
|
||||
window.location.href="<?= $this->url ?>";
|
||||
window.location.href="<?= $this->url ?>";
|
||||
$('#loading').css("width",'100%');
|
||||
$('.hero-unit').append('<a href="<?= $this->url ?>" class="btn btn-primary">如果没有跳转请点击这里</a>');
|
||||
},
|
||||
'beforeSend':function(){
|
||||
$('#loading').css("width",'40%');
|
||||
},
|
||||
'complete':function(){
|
||||
window.location.href="<?= $this->url ?>";
|
||||
$('#loading').css("width",'100%');
|
||||
$('.hero-unit').append('<a href="<?= $this->url ?>" class="btn btn-primary">如果没有跳转请点击这里</a>');
|
||||
|
||||
},
|
||||
'timeout': 20000,
|
||||
'error': function(){
|
||||
|
||||
$('.hero-unit').append('登陆到Geonetwork失败,可能是用户太多造成拥挤,请稍后再试或联系管理员');
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
|
Loading…
Reference in New Issue