From bd47b7f80a5f720440b53ef9af66dbebde46977e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Richard=20V=C3=A9zina?= Date: Sun, 10 Jul 2016 12:30:22 -0400 Subject: [PATCH] .att() -> .prop() for setting autocomplete off --- applications/welcome/static/js/web2py.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/applications/welcome/static/js/web2py.js b/applications/welcome/static/js/web2py.js index f3d14b29..2bedd1c5 100644 --- a/applications/welcome/static/js/web2py.js +++ b/applications/welcome/static/js/web2py.js @@ -201,7 +201,7 @@ showsTime: true, timeFormat: '24' }); - $(this).attr('autocomplete', 'off'); + $(this).prop('autocomplete', 'off'); $(this).data('w2p_datetime', 1); $(this).trigger('click'); } @@ -218,7 +218,7 @@ showsTime: false }); $(this).data('w2p_date', 1); - $(this).attr('autocomplete', 'off'); + $(this).prop('autocomplete', 'off'); $(this).trigger('click'); } }); @@ -227,7 +227,7 @@ if (web2py.isUndefined(active)) { $(this).timeEntry({ spinnerImage: '' - }).attr('autocomplete', 'off'); + }).prop('autocomplete', 'off'); $(this).data('w2p_time', 1); } });