From 649618626e26de645204b1f118fbf60014257cf7 Mon Sep 17 00:00:00 2001 From: Ole Laursen Date: Wed, 5 Mar 2014 17:39:13 +0000 Subject: [PATCH] Redo the quickfix to the "Send and Post" button bug (mentioned in issue #1308) so that we still do the validation correctly, but just always show the button (even if it's unusable) - Legacy-Id: 7416 --- ietf/liaisons/forms.py | 2 -- ietf/templates/liaisons/liaisonform.html | 2 -- 2 files changed, 4 deletions(-) diff --git a/ietf/liaisons/forms.py b/ietf/liaisons/forms.py index 43f3b22dc..4826e4c84 100644 --- a/ietf/liaisons/forms.py +++ b/ietf/liaisons/forms.py @@ -310,8 +310,6 @@ class IncomingLiaisonForm(LiaisonForm): self.fields['organization'].choices = self.hm.get_all_incoming_entities() def get_post_only(self): - # Temporary fix - newer django plumbs when forms are validated differently - fail permissive for now - return False from_entity = self.get_from_entity() if is_secretariat(self.user) or Role.objects.filter(person=self.person, group=from_entity.obj, name="auth"): return False diff --git a/ietf/templates/liaisons/liaisonform.html b/ietf/templates/liaisons/liaisonform.html index 5720a2813..89a8ac0a1 100644 --- a/ietf/templates/liaisons/liaisonform.html +++ b/ietf/templates/liaisons/liaisonform.html @@ -44,9 +44,7 @@ {% if form.edit %} {% else %} - {% if not form.get_post_only %} - {% endif %} {% endif %}