aboutsummaryrefslogtreecommitdiffstats
path: root/servo/templates
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mac.com>2015-10-26 23:19:02 +0200
committerFilipp Lepalaan <filipp@mac.com>2015-10-26 23:19:02 +0200
commitf688c757234feadbc9ce5e559d70f4d9d40a0bec (patch)
tree4c2839c151122d48adc7d2528e798aa373e0ac9c /servo/templates
parent86d92524effd9eead4c4d52f07a81cd17a4e96ac (diff)
downloadServo-f688c757234feadbc9ce5e559d70f4d9d40a0bec.tar.gz
Servo-f688c757234feadbc9ce5e559d70f4d9d40a0bec.tar.bz2
Servo-f688c757234feadbc9ce5e559d70f4d9d40a0bec.zip
Fix searching phones with country code in checkin
Diffstat (limited to 'servo/templates')
-rw-r--r--servo/templates/checkin/customer_form.html2
-rw-r--r--servo/templates/checkin/newindex.html1
2 files changed, 1 insertions, 2 deletions
diff --git a/servo/templates/checkin/customer_form.html b/servo/templates/checkin/customer_form.html
index 305c67a..0f08697 100644
--- a/servo/templates/checkin/customer_form.html
+++ b/servo/templates/checkin/customer_form.html
@@ -76,7 +76,7 @@
ko.applyBindings(svm);
$('#id_phone').next('span').on('click', function(){
- var q = $('#id_phone').val();
+ var q = encodeURIComponent($('#id_phone').val());
$.get('?phone=' + q, function(r){
svm.results(r);
$('#modal').modal();
diff --git a/servo/templates/checkin/newindex.html b/servo/templates/checkin/newindex.html
index 0188583..878ddea 100644
--- a/servo/templates/checkin/newindex.html
+++ b/servo/templates/checkin/newindex.html
@@ -5,7 +5,6 @@
{% block main %}
-
<div class="page-header">
<h2>{% trans "Device" %}</h2>
</div>