fixed locking bug
This commit is contained in:
parent
3931d8dcd2
commit
b062e61508
4 changed files with 10 additions and 10 deletions
|
|
@ -215,7 +215,7 @@ sub prepareView {
|
|||
#-------------------------------------------------------------------
|
||||
sub view {
|
||||
my $self = shift;
|
||||
if ($self->{_viewVars}{showAdmin} && (($self->canEditIfLocked && $self->session->scratch->get("versionTag") eq $self->get("tagId")) || !$self->isLocked)) {
|
||||
if ($self->{_viewVars}{showAdmin} && $self->canEditIfLocked) {
|
||||
# under normal circumstances we don't put HTML stuff in our code, but this will make it much easier
|
||||
# for end users to work with our templates
|
||||
$self->{_viewVars}{"dragger.icon"} = $self->session->icon->drag();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue