diff --git a/src/main/webapp/WEB-INF/manager/cms/content/form.ftl b/src/main/webapp/WEB-INF/manager/cms/content/form.ftl index 6e6a16e5..73be73c0 100644 --- a/src/main/webapp/WEB-INF/manager/cms/content/form.ftl +++ b/src/main/webapp/WEB-INF/manager/cms/content/form.ftl @@ -454,7 +454,7 @@ title: '', name: 'custom-name' }); - ms.mdiy.model.model("model1", {id:modelId},{ linkId: that.form.id }).then(function(obj) { + ms.mdiy.model.extend("model1", {id:modelId},{ linkId: that.form.id }).then(function(obj) { that.model = obj; that.editableTabs[1].title = obj.modelName });