BindUI user experience
This commit is contained in:
parent
56f239c081
commit
21bc5073d8
1 changed files with 3 additions and 2 deletions
|
|
@ -217,9 +217,10 @@ var pdApp = {
|
||||||
$(this).attr('class','gt-toggle hidden ' + ($(this).hasClass('greater') ? 'less' : 'greater'));
|
$(this).attr('class','gt-toggle hidden ' + ($(this).hasClass('greater') ? 'less' : 'greater'));
|
||||||
});
|
});
|
||||||
|
|
||||||
$('.num-only').change(function() {
|
$('.num-only').blur(function() {
|
||||||
$(this).val($(this).val().replace(/[^\d-]/g,''));
|
$(this).val($(this).val().replace(/[^\d-]/g,''));
|
||||||
}).keypress(function() {$(this).change(); });
|
$(this).change();
|
||||||
|
});
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
helpers: {
|
helpers: {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue