summaryrefslogtreecommitdiff
path: root/pgcommitfest/commitfest/views.py
diff options
context:
space:
mode:
authorMagnus Hagander2014-04-23 17:02:27 +0000
committerMagnus Hagander2014-04-23 17:02:27 +0000
commit02a7a0e05a16d619f4624f04ba08e19b78ff0d9b (patch)
treef9e558bc842c286a6fa41bd2b4f306f415787cb1 /pgcommitfest/commitfest/views.py
parent330e4e876049b79ed6599275e35f1849a521b388 (diff)
Fix removing of authors/reviewers
There's a conflict between jquery-ui and bootstrap for buttons that breaks django-selectable. The documented workaround doesn't work, but for now we don't have any pages that require both at the same time, so just suppress the bootstrap javascript when jquery-ui buttons are required.
Diffstat (limited to 'pgcommitfest/commitfest/views.py')
-rw-r--r--pgcommitfest/commitfest/views.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pgcommitfest/commitfest/views.py b/pgcommitfest/commitfest/views.py
index 6a72b93..ba0f911 100644
--- a/pgcommitfest/commitfest/views.py
+++ b/pgcommitfest/commitfest/views.py
@@ -168,6 +168,7 @@ def patchform(request, cfid, patchid):
'title': 'Edit patch',
'breadcrumbs': [{'title': cf.name, 'href': '/%s/' % cf.pk},
{'title': 'View patch', 'href': '/%s/%s/' % (cf.pk, patch.pk)}],
+ 'block_bootstrap_button': True,
}, context_instance=RequestContext(request))
@login_required