修改了ajax脚本超时时间

This commit is contained in:
Li Jianxuan 2012-03-07 04:00:23 +00:00
parent 0ebe6768c2
commit 5c685f4a16
1 changed files with 2 additions and 2 deletions

View File

@ -61,7 +61,7 @@ function doSearch(){
'beforeSend':function(){
$('#search_btn').html('<img src="/images/ajax-load-small.gif" />Searching...');
},
'timeout': 20,
'timeout': 20000,
'error': function(){
alert('处理中出现问题,请重试');
$('#data_'+uuid).html('');
@ -88,7 +88,7 @@ function apply(uuid){
'beforeSend':function(){
$('#data_'+uuid).html('<img src="/images/ajax-load-small.gif" />正在处理...');
},
'timeout': 20,
'timeout': 20000,
'error': function(){
alert('处理中出现问题,请重试');
$('#data_'+uuid).html('');