Ver código fonte

Merge remote-tracking branch 'origin/5.2' into 5.2

wujj 5 anos atrás
pai
commit
1edf89e4af

Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
doc/5.2-patch.sql


+ 3 - 3
src/main/webapp/WEB-INF/manager/cms/category/form.ftl

@@ -542,10 +542,10 @@
             this.form.id = ms.util.getParameter("id");
             this.form.childId = ms.util.getParameter("childId");// 判断是否增加子栏目
 
-            // 判断三种状态,默认为编辑状态
+            // 判断三种状态,默认为新增状态
             this.categoryTypeDisabled = false;// 控制栏目分类是否可编辑
-            if (this.form.id != undefined && this.form.childId == undefined) {
-                // 切换新增状态,id&childId 为空
+            if (this.form.id != undefined && (this.form.childId == undefined  || this.form.childId == "undefined")) {
+                // 切换编辑状态,id不为空 childId 为空
                 this.categoryTypeDisabled = true;
                 this.get(this.form.id);
             } else if (this.form.childId) {

Alguns arquivos não foram mostrados porque muitos arquivos mudaram nesse diff