fix for editing interfaces to Assets that still display an edit button even if the Asset is edit locked.
This commit is contained in:
parent
38060cc0cb
commit
8b7bafe1ae
19 changed files with 59 additions and 39 deletions
|
|
@ -372,6 +372,7 @@ sub view {
|
|||
sub www_edit {
|
||||
my $self = shift;
|
||||
return $self->session->privilege->insufficient() unless $self->canEdit;
|
||||
return $self->session->privilege->locked() unless $self->canEditIfLocked;
|
||||
my $i18n = WebGUI::International->new($self->session);
|
||||
my $tabform = $self->getEditForm;
|
||||
$tabform->getTab("display")->template(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue