修改数据作者中判断添加状态的字段名称
This commit is contained in:
parent
ebb2421761
commit
c7828e79a9
|
@ -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{
|
||||||
|
|
Loading…
Reference in New Issue