display asset helpers

This commit is contained in:
Doug Bell 2010-07-15 17:19:59 -05:00
parent 7fca2c1947
commit 2e1589121a
2 changed files with 45 additions and 0 deletions

View file

@ -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 ) {