fixing lots of dashboard things.

This commit is contained in:
Matthew Wilson 2005-12-05 00:38:55 +00:00
parent 9722bad470
commit f6058c1b34
9 changed files with 104 additions and 29 deletions

View file

@ -1412,6 +1412,21 @@ sub www_add {
}
#-------------------------------------------------------------------
=head2 www_ajaxInlineView ( )
Returns the view() method of the asset object if the requestor canView.
=cut
sub www_ajaxInlineView {
my $self = shift;
return WebGUI::Privilege::noAccess() unless $self->canView;
return $self->view;
}
#-------------------------------------------------------------------
=head2 www_edit ( )