修改数据作者中判断添加状态的字段名称

This commit is contained in:
Li Jianxuan 2012-11-29 01:48:47 +00:00
parent ebb2421761
commit c7828e79a9
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ function addAuthor(id,uuid){
{Alert(data.error);return false;} {Alert(data.error);return false;}
if(typeof(data.msg)!='undefined') if(typeof(data.msg)!='undefined')
{Alert(data.msg);} {Alert(data.msg);}
if(typeof(data.added)!='undefined') if(typeof(data.status)!='undefined')
{$('#addauthor_'+id).html('<a href="javascript:;" onclick="AddAuthor('+id+',\''+uuid+'\')">添加作者</a>');} {$('#addauthor_'+id).html('<a href="javascript:;" onclick="AddAuthor('+id+',\''+uuid+'\')">添加作者</a>');}
} }
else{ else{