migrated WebGUI::Icon api to use new session
This commit is contained in:
parent
b3974c0cd5
commit
2735385050
33 changed files with 289 additions and 278 deletions
|
|
@ -287,7 +287,7 @@ sub getToolbar {
|
|||
}
|
||||
my $toolbar;
|
||||
if (!$self->isLocked || $self->get("isLockedBy") eq $self->session->user->profileField("userId")) {
|
||||
$toolbar = editIcon('func=edit'.$returnUrl,$self->get("url"));
|
||||
$toolbar = $self->session->icon->edit('func=edit'.$returnUrl,$self->get("url"));
|
||||
}
|
||||
my $i18n = WebGUI::International->new("Asset");
|
||||
return '<script type="text/javascript">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue