Allow batch view to disable the Execute button in some cases.
Although this only disables the UI button element, it doesn't really prevent anything beyond that...
This commit is contained in:
parent
fb8fab1577
commit
4290f0d8df
2 changed files with 2 additions and 1 deletions
|
@ -473,6 +473,7 @@ class BatchCrud(BaseCrud):
|
|||
'batch_display': self.batch_display,
|
||||
'batch_display_plural': self.batch_display_plural,
|
||||
'execute_title': self.handler.get_execute_title(batch),
|
||||
'execute_enabled': True,
|
||||
'route_prefix': self.route_prefix,
|
||||
'permission_prefix': self.permission_prefix,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue