修改了ajax脚本超时时间
This commit is contained in:
parent
0ebe6768c2
commit
5c685f4a16
|
@ -61,7 +61,7 @@ function doSearch(){
|
||||||
'beforeSend':function(){
|
'beforeSend':function(){
|
||||||
$('#search_btn').html('<img src="/images/ajax-load-small.gif" />Searching...');
|
$('#search_btn').html('<img src="/images/ajax-load-small.gif" />Searching...');
|
||||||
},
|
},
|
||||||
'timeout': 20,
|
'timeout': 20000,
|
||||||
'error': function(){
|
'error': function(){
|
||||||
alert('处理中出现问题,请重试');
|
alert('处理中出现问题,请重试');
|
||||||
$('#data_'+uuid).html('');
|
$('#data_'+uuid).html('');
|
||||||
|
@ -88,7 +88,7 @@ function apply(uuid){
|
||||||
'beforeSend':function(){
|
'beforeSend':function(){
|
||||||
$('#data_'+uuid).html('<img src="/images/ajax-load-small.gif" />正在处理...');
|
$('#data_'+uuid).html('<img src="/images/ajax-load-small.gif" />正在处理...');
|
||||||
},
|
},
|
||||||
'timeout': 20,
|
'timeout': 20000,
|
||||||
'error': function(){
|
'error': function(){
|
||||||
alert('处理中出现问题,请重试');
|
alert('处理中出现问题,请重试');
|
||||||
$('#data_'+uuid).html('');
|
$('#data_'+uuid).html('');
|
||||||
|
|
Loading…
Reference in New Issue