aboutsummaryrefslogtreecommitdiffstats
path: root/servo/templates/checkin/customer_form.html
diff options
context:
space:
mode:
Diffstat (limited to 'servo/templates/checkin/customer_form.html')
-rw-r--r--servo/templates/checkin/customer_form.html2
1 files changed, 1 insertions, 1 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();