diff options
author | Filipp Lepalaan <filipp@mac.com> | 2015-10-26 23:19:02 +0200 |
---|---|---|
committer | Filipp Lepalaan <filipp@mac.com> | 2015-10-26 23:19:02 +0200 |
commit | f688c757234feadbc9ce5e559d70f4d9d40a0bec (patch) | |
tree | 4c2839c151122d48adc7d2528e798aa373e0ac9c /servo/templates/checkin/customer_form.html | |
parent | 86d92524effd9eead4c4d52f07a81cd17a4e96ac (diff) | |
download | Servo-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.html | 2 |
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(); |