diff --git a/ccm-cms/src/com/arsdigita/cms/ContentSection.java b/ccm-cms/src/com/arsdigita/cms/ContentSection.java index 7cc184b38..2e059cc74 100755 --- a/ccm-cms/src/com/arsdigita/cms/ContentSection.java +++ b/ccm-cms/src/com/arsdigita/cms/ContentSection.java @@ -779,7 +779,7 @@ public class ContentSection extends Application { return types; } - public ContentTypeCollection getDecendantsOfContentType(ContentType ct) { + public ContentTypeCollection getDescendantsOfContentType(ContentType ct) { ContentTypeCollection ctc = getContentTypes(); // The Filter Factory @@ -791,7 +791,7 @@ public class ContentSection extends Application { // The content type must be either of the requested type or.addFilter(ff.equals(ContentType.ID, ct.ID)); - // Or must be a decendant of the requested type + // Or must be a descendant of the requested type try { StringTokenizer strTok = new StringTokenizer(ct.getDescendants(), "/"); while (strTok.hasMoreElements()) { diff --git a/ccm-cms/src/com/arsdigita/cms/ui/authoring/NewItemForm.java b/ccm-cms/src/com/arsdigita/cms/ui/authoring/NewItemForm.java index 14409ada4..aebf3d26d 100755 --- a/ccm-cms/src/com/arsdigita/cms/ui/authoring/NewItemForm.java +++ b/ccm-cms/src/com/arsdigita/cms/ui/authoring/NewItemForm.java @@ -112,7 +112,7 @@ public abstract class NewItemForm extends Form { if (parentType == null) { typesCollection = section.getCreatableContentTypes(); } else { - typesCollection = section.getDecendantsOfContentType(parentType); + typesCollection = section.getDescendantsOfContentType(parentType); } typesCollection.addOrder(ContentType.LABEL); diff --git a/ccm-cms/src/com/arsdigita/cms/ui/search/ContentTypeFilterWidget.java b/ccm-cms/src/com/arsdigita/cms/ui/search/ContentTypeFilterWidget.java index 1eb2209bd..afb2fa0b9 100755 --- a/ccm-cms/src/com/arsdigita/cms/ui/search/ContentTypeFilterWidget.java +++ b/ccm-cms/src/com/arsdigita/cms/ui/search/ContentTypeFilterWidget.java @@ -56,7 +56,7 @@ public class ContentTypeFilterWidget extends FilterWidget { } public ContentTypeFilterWidget(ContentSection section, ContentType parentType) { - this(section.getDecendantsOfContentType(parentType)); + this(section.getDescendantsOfContentType(parentType)); m_section = section; m_parentType = parentType; } @@ -108,7 +108,7 @@ public class ContentTypeFilterWidget extends FilterWidget { if (parentType == null) { typesCollection = section.getContentTypes(); } else { - typesCollection = section.getDecendantsOfContentType(parentType); + typesCollection = section.getDescendantsOfContentType(parentType); } } else {