inlineView must prepareView before view()
This commit is contained in:
parent
7a9a967c74
commit
e05490487c
1 changed files with 1 additions and 0 deletions
|
|
@ -1811,6 +1811,7 @@ Returns the view() method of the asset object if the requestor canView.
|
||||||
sub www_ajaxInlineView {
|
sub www_ajaxInlineView {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
return $self->session->privilege->noAccess() unless $self->canView;
|
return $self->session->privilege->noAccess() unless $self->canView;
|
||||||
|
$self->prepareView;
|
||||||
return $self->view;
|
return $self->view;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue