add revisions to asset data in admin console

This commit is contained in:
Doug Bell 2010-08-06 17:50:57 -05:00
parent a13fee07a0
commit fd524c9e2a

View file

@ -271,6 +271,7 @@ if ($self->session->user->isRegistered || $self->session->setting->get("preventP
icon => $asset->getIcon(1),
type => $assetName,
helpers => $asset->getHelpers,
revisions => $asset->getAllRevisions,
};
$var{'head.tags'} .= sprintf <<'ADMINJS', JSON->new->encode( $assetDef );
if ( window.parent && window.parent.admin ) {