display asset helpers
This commit is contained in:
parent
7fca2c1947
commit
2e1589121a
2 changed files with 45 additions and 0 deletions
|
|
@ -260,6 +260,8 @@ if ($self->session->user->isRegistered || $self->session->setting->get("preventP
|
|||
title => $session->asset->getTitle,
|
||||
url => $session->asset->getUrl,
|
||||
icon => $session->asset->getIcon(1),
|
||||
type => $session->asset->assetName,
|
||||
helpers => $session->asset->getHelpers,
|
||||
};
|
||||
$var{'head.tags'} .= sprintf <<'ADMINJS', JSON->new->encode( $assetDef );
|
||||
if ( window.parent && window.parent.admin ) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue