fixed #10056: YUI javascripts included while adminOff (BNC)
This commit is contained in:
parent
d6d5009402
commit
18212d7a66
2 changed files with 3 additions and 2 deletions
|
|
@ -1,4 +1,5 @@
|
|||
7.7.2
|
||||
- fixed #10056: YUI javascripts included while adminOff (BNC)
|
||||
- fixed a bug that required you to hit "update cart" before the checkout
|
||||
button would appear
|
||||
- fixed #9955: Matrix alpha sort is backwards
|
||||
|
|
|
|||
|
|
@ -297,8 +297,8 @@ Returns a toolbar with a set of icons that hyperlink to functions that delete, e
|
|||
|
||||
sub getToolbar {
|
||||
my $self = shift;
|
||||
return
|
||||
unless $self->canEdit;
|
||||
return undef
|
||||
unless $self->canEdit && $self->session->var->isAdminOn;
|
||||
if ($self->getToolbarState) {
|
||||
my $toolbar = '';
|
||||
if ($self->canEditIfLocked) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue