aboutsummaryrefslogtreecommitdiffstats
path: root/servo/templates/checkin/customer_form.html
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/checkin/customer_form.html
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/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();