This commit is contained in:
@@ -311,7 +311,7 @@ and it's probably not a big list to fill anyway
|
||||
},
|
||||
canAdd: function() {
|
||||
return (
|
||||
!this.value.isLockedAtServer &&
|
||||
!this.pvm.formState.readOnly &&
|
||||
this.pvm.rights.change &&
|
||||
this.pvm.subRights.items.create
|
||||
);
|
||||
@@ -319,7 +319,7 @@ and it's probably not a big list to fill anyway
|
||||
canDelete: function() {
|
||||
return (
|
||||
this.activeItemIndex != null &&
|
||||
!this.value.isLockedAtServer &&
|
||||
!this.pvm.formState.readOnly &&
|
||||
this.pvm.rights.change &&
|
||||
this.pvm.subRights.items.delete
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user