Commit 14d6489a authored by ms-dev's avatar ms-dev

保存跳转修复

parent 3d6aa3ac
...@@ -145,7 +145,7 @@ $(function(){ ...@@ -145,7 +145,7 @@ $(function(){
alert("保存文章成功,并已生成" ); alert("保存文章成功,并已生成" );
</#if> </#if>
if (obj.resultData!="") { if (obj.resultData!="") {
location.href=base+obj.resultData; location.href=managerPath+"/cms/article/"+obj.resultData+"/list.do";
} }
$("#saveUpdate").removeAttr("disabled"); $("#saveUpdate").removeAttr("disabled");
}else{ }else{
...@@ -155,7 +155,7 @@ $(function(){ ...@@ -155,7 +155,7 @@ $(function(){
} }
}}); }});
if (obj.resultData!="") { if (obj.resultData!="") {
location.href=base+obj.resultData; location.href=managerPath+"/cms/article/"+obj.resultData+"/list.do";
} }
<@ms.notify msg="文章保存成功" type="success"/> <@ms.notify msg="文章保存成功" type="success"/>
$("#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