parent
4c8a1bb9af
commit
786374fa68
|
@ -22,7 +22,6 @@ ContainerFactory.prototype.createEditorContainer = function(header, id,
|
||||||
containerInfo[i].name == "";
|
containerInfo[i].name == "";
|
||||||
}
|
}
|
||||||
if (containerInfo[i].children == null) {
|
if (containerInfo[i].children == null) {
|
||||||
console.log(containerInfo[i]);
|
|
||||||
this.appendEdtiors(container, containerInfo[i].label,
|
this.appendEdtiors(container, containerInfo[i].label,
|
||||||
containerInfo[i].nameCN, containerInfo[i].required, containerInfo[i].name,
|
containerInfo[i].nameCN, containerInfo[i].required, containerInfo[i].name,
|
||||||
containerInfo[i].paramTypeModel,containerInfo[i].value == null ?"":containerInfo[i].value);
|
containerInfo[i].paramTypeModel,containerInfo[i].value == null ?"":containerInfo[i].value);
|
||||||
|
@ -45,7 +44,6 @@ ContainerFactory.prototype.appendEdtiors = function(container, label, name, requ
|
||||||
var editorFactory = new EditorFactory();
|
var editorFactory = new EditorFactory();
|
||||||
|
|
||||||
if (editorInfo.type.toLowerCase() == "field") {
|
if (editorInfo.type.toLowerCase() == "field") {
|
||||||
console.log("required:"+required);
|
|
||||||
$(container).append(
|
$(container).append(
|
||||||
editorFactory.createField(label, name, required, editorInfo.size, id,value));
|
editorFactory.createField(label, name, required, editorInfo.size, id,value));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue