diff --git a/javascript/CMSMain.AddForm.js b/javascript/CMSMain.AddForm.js index 2681d7ab..683abcc0 100644 --- a/javascript/CMSMain.AddForm.js +++ b/javascript/CMSMain.AddForm.js @@ -52,7 +52,7 @@ ? (parentTree.getValue() || this.getParentID()) : null, newClassName = metadata ? metadata.ClassName : null, - hintKey = (newClassName && parentMode === 'child') + hintKey = (newClassName && parentMode === 'child' && id) ? newClassName : 'Root', hint = (typeof hints[hintKey] !== 'undefined') ? hints[hintKey] : null,