- 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-94f89814c4dfmaster
parent
3aa3e145ed
commit
f10243123b
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue