You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by ma...@apache.org on 2018/10/10 15:42:10 UTC
[airavata-django-portal] 01/03: AIRAVATA-2902 Default list of
buttons is empty
This is an automated email from the ASF dual-hosted git repository.
machristie pushed a commit to branch simccs
in repository https://gitbox.apache.org/repos/asf/airavata-django-portal.git
commit e4eaad6654c92c4fd4fd1e4dae7e42dc3442e960
Author: Marcus Christie <ma...@iu.edu>
AuthorDate: Wed Oct 10 11:20:49 2018 -0400
AIRAVATA-2902 Default list of buttons is empty
---
django_airavata/wagtailapps/base/blocks.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/django_airavata/wagtailapps/base/blocks.py b/django_airavata/wagtailapps/base/blocks.py
index 07433e0..5b83394 100644
--- a/django_airavata/wagtailapps/base/blocks.py
+++ b/django_airavata/wagtailapps/base/blocks.py
@@ -293,7 +293,7 @@ class BootstrapCard(StructBlock):
('text-dark', 'DARK'),
('text-light', 'LIGHT'),
], blank=True, required=False, help_text="select a text color")
- buttons = ListBlock(BootstrapButton(required=False))
+ buttons = ListBlock(BootstrapButton(required=False), default=[])
custom_class = TextBlock(
required=False,
blank=True,