Some corrections for the category deletion link.
git-svn-id: https://svn.libreccm.org/ccm/trunk@2318 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
c957dfd301
commit
e5dd25e1b4
|
|
@ -163,7 +163,7 @@ public final class CategoryAdminPane extends BaseAdminPane {
|
|||
boolean isDefaultContext =
|
||||
(context == null) || DEFAULT_USE_CONTEXT.equals(context);
|
||||
|
||||
if ((isDefaultContext && cat.isRoot()) || !cat.getChildren().isEmpty()) {
|
||||
if (cat.isRoot() || !cat.getChildren().isEmpty()) {
|
||||
m_alternativeLabel.generateXML(state, parent);
|
||||
} else {
|
||||
super.generateXML(state, parent);
|
||||
|
|
|
|||
Loading…
Reference in New Issue