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:
Lance Edgar 2015-07-09 01:42:19 -05:00
parent fb8fab1577
commit 4290f0d8df
2 changed files with 2 additions and 1 deletions

View file

@ -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,
}