mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
MINOR Fixed variable declaration in CMSMain.AddForm.js
This commit is contained in:
parent
a570e2f2a0
commit
2814aeb249
@ -45,7 +45,7 @@
|
||||
id = this.find('#ParentID .TreeDropdownField').getValue(),
|
||||
newClassName = metadata ? metadata.ClassName : null,
|
||||
hintKey = newClassName ? newClassName : 'Root',
|
||||
hint = (typeof hints[hintKey] != 'undefined') ? hints[key] : null;
|
||||
hint = (typeof hints[hintKey] != 'undefined') ? hints[hintKey] : null;
|
||||
|
||||
var disallowedChildren = (hint && typeof hint.disallowedChildren != 'undefined') ? hint.disallowedChildren : [],
|
||||
defaultChildClass = (hint && typeof hint.defaultChild != 'undefined') ? hint.defaultChild : null;
|
||||
|
Loading…
Reference in New Issue
Block a user