if no url is specified get the media folder instead of root
This commit is contained in:
parent
485eee3808
commit
7270f64835
1 changed files with 1 additions and 1 deletions
|
|
@ -245,7 +245,7 @@ sub www_richEditImageTree {
|
|||
font-size: 15px;
|
||||
}
|
||||
</style>|);
|
||||
my $base = WebGUI::Asset->newByUrl($session) || WebGUI::Asset->getRoot($session);
|
||||
my $base = WebGUI::Asset->newByUrl($session) || WebGUI::Asset->getMedia($session);
|
||||
my @crumb;
|
||||
my $ancestors = $base->getLineage(["self","ancestors"],{returnObjects=>1});
|
||||
my $media;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue