fix
This commit is contained in:
parent
28fd67e027
commit
d11daf7974
1 changed files with 1 additions and 1 deletions
|
|
@ -211,7 +211,7 @@ sub www_copyList {
|
|||
|
||||
sub www_createShortcut () {
|
||||
my $self = shift;
|
||||
my $isOnDashboard = ref $self->getParent == 'WebGUI::Asset::Wobject::Dashboard';
|
||||
my $isOnDashboard = ref $self->getParent eq 'WebGUI::Asset::Wobject::Dashboard';
|
||||
my $target = $isOnDashboard ? $self->getParent : $self;
|
||||
my $child = $target->addChild({
|
||||
className=>'WebGUI::Asset::Shortcut',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue