shortcut auto-reload functionality.
This commit is contained in:
parent
908cab06e9
commit
f895ead4d5
2 changed files with 23 additions and 11 deletions
|
|
@ -612,8 +612,14 @@ sub view {
|
|||
isShortcut => 1,
|
||||
'shortcut.content' => $content,
|
||||
'shortcut.label' => WebGUI::International::get('assetName',"Asset_Shortcut"),
|
||||
originalURL => $shortcut->getUrl
|
||||
originalURL => $shortcut->getUrl,
|
||||
'shortcut.url'=>$self->getUrl
|
||||
);
|
||||
foreach my $prop (keys %{$self->{_shortcut}{_properties}}) {
|
||||
next if ($prop eq 'content' || $prop eq 'label' || $prop eq 'url');
|
||||
$var{'shortcut.'.$prop} = $self->{_shortcut}{_properties}{$prop};
|
||||
WebGUI::ErrorHandler::warn($prop.' = '.$self->{_shortcut}{_properties}{$prop});
|
||||
}
|
||||
return $self->processTemplate(\%var,$self->getValue("templateId"));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue