CMS 当栏目为显示第一篇文章的时候,点击保存,不关闭窗口

This commit is contained in:
thinkgem
2025-10-10 16:41:02 +08:00
parent 3dd0bdcd62
commit 273e478ee2

View File

@@ -240,11 +240,13 @@ $('#inputForm').validate({
$('#wordCount').val(contentUE.getContentTxt().length); $('#wordCount').val(contentUE.getContentTxt().length);
js.ajaxSubmitForm($(form), function(data){ js.ajaxSubmitForm($(form), function(data){
js.showMessage(data.message); js.showMessage(data.message);
//# if(parameter['category.showModes'] != '3'){
if(data.result == Global.TRUE){ if(data.result == Global.TRUE){
js.closeCurrentTabPage(function(contentWindow){ js.closeCurrentTabPage(function(contentWindow){
contentWindow.page(); contentWindow.page();
}); });
} }
//# }
}, "json"); }, "json");
} }
}); });