mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-02 00:14:34 -04:00
Adjustments for autofill
This commit is contained in:
parent
9d4e57c995
commit
63d0bbb9ae
@ -76,20 +76,20 @@
|
|||||||
@push('footer')
|
@push('footer')
|
||||||
<script defer>
|
<script defer>
|
||||||
|
|
||||||
$(function() {
|
// $(function() {
|
||||||
var myCard = $('#my-card');
|
// var myCard = $('#my-card');
|
||||||
myCard.EXPIRY_USE_DROPDOWNS = true;
|
// myCard.EXPIRY_USE_DROPDOWNS = true;
|
||||||
|
|
||||||
document.getElementsByName('expiry-month')[0].setAttribute("x-autocompletetype", "cc-exp-month");
|
// document.getElementsByName('expiry-month')[0].setAttribute("x-autocompletetype", "cc-exp-month");
|
||||||
document.getElementsByName('expiry-month')[0].setAttribute("autocompletetype", "cc-exp-month");
|
// document.getElementsByName('expiry-month')[0].setAttribute("autocompletetype", "cc-exp-month");
|
||||||
document.getElementsByName('expiry-month')[0].setAttribute("autocomplete", "on");
|
// document.getElementsByName('expiry-month')[0].setAttribute("autocomplete", "on");
|
||||||
document.getElementsByClassName('expiry')[0].setAttribute("autocomplete", "on");
|
// document.getElementsByClassName('expiry')[0].setAttribute("autocomplete", "on");
|
||||||
|
|
||||||
document.getElementsByName('expiry-year')[0].setAttribute("x-autocompletetype", "cc-exp-year");
|
// document.getElementsByName('expiry-year')[0].setAttribute("x-autocompletetype", "cc-exp-year");
|
||||||
document.getElementsByName('expiry-year')[0].setAttribute("autocompletetype", "cc-exp-year");
|
// document.getElementsByName('expiry-year')[0].setAttribute("autocompletetype", "cc-exp-year");
|
||||||
document.getElementsByName('expiry-year')[0].setAttribute("autocomplete", "on");
|
// document.getElementsByName('expiry-year')[0].setAttribute("autocomplete", "on");
|
||||||
|
|
||||||
});
|
// });
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
@endpush
|
@endpush
|
Loading…
x
Reference in New Issue
Block a user