- BugFix für PublicationsConfig

- Unsichtbare Kategorien werden jetzt nicht mehr in der Navigation angezeigt, wenn sie ausgewählt sind


git-svn-id: https://svn.libreccm.org/ccm/trunk@2465 8810af33-2d31-482b-a856-94f89814c4df
master
jensp 2013-11-29 09:48:30 +00:00
parent 3aa3e145ed
commit f10243123b
2 changed files with 7 additions and 9 deletions

View File

@ -123,9 +123,6 @@ public abstract class AbstractTree extends CategoryComponent {
Map children, Map children,
String path, String path,
List idPath) { List idPath) {
if (!cat.isEnabled()) { if (!cat.isEnabled()) {
return null; return null;
} }
@ -159,7 +156,8 @@ public abstract class AbstractTree extends CategoryComponent {
isSelected = false; isSelected = false;
} }
if (!isSelected && !cat.isVisible()) { //if (!isSelected && !cat.isVisible()) {
if (!cat.isVisible()) {
return null; return null;
} }

View File

@ -504,7 +504,7 @@ public class PublicationsConfig extends AbstractConfig {
} }
public String getDefaultPublisherFolderPath() { public String getDefaultPublisherFolderPath() {
if (getDefaultPublisherFolderPath() == null) { if (get(defaultPublisherFolderPath) == null) {
return null; return null;
} else { } else {
return (String) get(defaultPublisherFolderPath); return (String) get(defaultPublisherFolderPath);