From 8227a16c0a0a314e9cd99f63c2a2bd2c9259ff9e Mon Sep 17 00:00:00 2001 From: Sebastian Lohff Date: Sat, 21 Jan 2017 05:06:58 +0100 Subject: [PATCH] Made call log filtering case insensitive + optimizing --- templates/contest/log.html | 26 +++++++++----------------- 1 file changed, 9 insertions(+), 17 deletions(-) diff --git a/templates/contest/log.html b/templates/contest/log.html index 2d73108..fd3af3b 100644 --- a/templates/contest/log.html +++ b/templates/contest/log.html @@ -85,14 +85,21 @@ $(document).ready(function() { var log = [{% for qso in qsos %}{call: "{{ qso.call }}", band: "{{ qso.band }}"}{% if not forloop.last %}, {% endif %}{% endfor %}]; function checkForDupes(e) { - var call = $("#id_call").val(); + var call = $("#id_call").val().toUpperCase(); var band = $("#id_band :selected").text(); var dupe = false; for(var i=0; i