edit containerfactory.js

edit containerfactory.js
This commit is contained in:
daisyonly 2014-09-04 15:27:00 +08:00
parent 4c8a1bb9af
commit 786374fa68
1 changed files with 0 additions and 2 deletions

View File

@ -22,7 +22,6 @@ ContainerFactory.prototype.createEditorContainer = function(header, id,
containerInfo[i].name == "";
}
if (containerInfo[i].children == null) {
console.log(containerInfo[i]);
this.appendEdtiors(container, containerInfo[i].label,
containerInfo[i].nameCN, containerInfo[i].required, containerInfo[i].name,
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();
if (editorInfo.type.toLowerCase() == "field") {
console.log("required:"+required);
$(container).append(
editorFactory.createField(label, name, required, editorInfo.size, id,value));