Fire an event on phone number validation

Fix a bug introduced by recent phone number input work that prevented
the call and sms buttons from being clickable.
This commit is contained in:
lilia 2015-01-17 22:51:32 -10:00
parent f6376c0fa2
commit 5d044bd00e
3 changed files with 6 additions and 3 deletions

View file

@ -34,7 +34,7 @@
} else {
$('#choose-setup').show().addClass('in');
$('input.number').on('keyup', function() {
$('input.number').on('validation', function() {
if ($('#number-container').hasClass('valid')) {
$('#request-sms, #request-voice').removeAttr('disabled');
} else {