add revisions to asset data in admin console
This commit is contained in:
parent
a13fee07a0
commit
fd524c9e2a
1 changed files with 1 additions and 0 deletions
|
|
@ -271,6 +271,7 @@ if ($self->session->user->isRegistered || $self->session->setting->get("preventP
|
||||||
icon => $asset->getIcon(1),
|
icon => $asset->getIcon(1),
|
||||||
type => $assetName,
|
type => $assetName,
|
||||||
helpers => $asset->getHelpers,
|
helpers => $asset->getHelpers,
|
||||||
|
revisions => $asset->getAllRevisions,
|
||||||
};
|
};
|
||||||
$var{'head.tags'} .= sprintf <<'ADMINJS', JSON->new->encode( $assetDef );
|
$var{'head.tags'} .= sprintf <<'ADMINJS', JSON->new->encode( $assetDef );
|
||||||
if ( window.parent && window.parent.admin ) {
|
if ( window.parent && window.parent.admin ) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue