Skip to content

Commit c6bc552

Browse files
committed
Change content-type of ajax_get_liaison_info to application/json. Commit ready for merge.
- Legacy-Id: 15450
1 parent f8b107e commit c6bc552

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

ietf/liaisons/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ def ajax_get_liaison_info(request):
246246
'post_only': any(can_post_only)})
247247

248248
json_result = json.dumps(result)
249-
return HttpResponse(json_result, content_type='text/javascript')
249+
return HttpResponse(json_result, content_type='application/json')
250250

251251
def ajax_select2_search_liaison_statements(request):
252252
query = [w.strip() for w in request.GET.get('q', '').split() if w.strip()]

ietf/secr/sreq/forms.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
# -------------------------------------------------
1313

1414
NUM_SESSION_CHOICES = (('','--Please select'),('1','1'),('2','2'))
15-
LENGTH_SESSION_CHOICES = (('','--Please select'),('1800','30 minutes'),('3600','1 hour'),('5400','1.5 hours'), ('7200','2 hours'),('9000','2.5 hours'))
15+
# LENGTH_SESSION_CHOICES = (('','--Please select'),('1800','30 minutes'),('3600','1 hour'),('5400','1.5 hours'), ('7200','2 hours'),('9000','2.5 hours'))
16+
LENGTH_SESSION_CHOICES = (('','--Please select'),('1800','30 minutes'),('3600','1 hour'),('5400','1.5 hours'), ('7200','2 hours'))
1617
WG_CHOICES = list( Group.objects.filter(type__in=('wg','rg','ag'),state__in=('bof','proposed','active')).values_list('acronym','acronym').order_by('acronym'))
1718
WG_CHOICES.insert(0,('','--Select WG(s)'))
1819

0 commit comments

Comments
 (0)