Commit 27662225 authored by ms-dev's avatar ms-dev

文章更新跳转修复

parent ffe55554
...@@ -154,11 +154,9 @@ $(function(){ ...@@ -154,11 +154,9 @@ $(function(){
$("#saveUpdate").removeAttr("disabled"); $("#saveUpdate").removeAttr("disabled");
} }
}}); }});
if (obj.resultData!="") { location.href=managerPath+"/cms/article/"+obj.resultData+"/list.do";
location.href=managerPath+"/cms/article/"+obj.resultData+"/list.do"; <@ms.notify msg="文章保存成功" type="success"/>
} $("#saveUpdate").removeAttr("disabled");
<@ms.notify msg="文章保存成功" type="success"/>
$("#saveUpdate").removeAttr("disabled");
}else{ }else{
alert(obj.resultMsg); alert(obj.resultMsg);
$("#saveUpdate").removeAttr("disabled"); $("#saveUpdate").removeAttr("disabled");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment