mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-07 12:54:31 -04:00
Clean up browser console
This commit is contained in:
parent
532e13736d
commit
89a68801e4
@ -11,7 +11,7 @@ php:
|
|||||||
# - 5.6
|
# - 5.6
|
||||||
# - 7.0
|
# - 7.0
|
||||||
- 7.1
|
- 7.1
|
||||||
- 7.2
|
# - 7.2
|
||||||
# - hhvm
|
# - hhvm
|
||||||
|
|
||||||
addons:
|
addons:
|
||||||
|
@ -6,6 +6,8 @@
|
|||||||
|
|
||||||
$('#signUpModal').on('shown.bs.modal', function () {
|
$('#signUpModal').on('shown.bs.modal', function () {
|
||||||
trackEvent('/account', '/view_sign_up');
|
trackEvent('/account', '/view_sign_up');
|
||||||
|
// change the type after page load to prevent errors in Chrome console
|
||||||
|
$('#new_password').attr('type', 'password');
|
||||||
$(['first_name','last_name','email','password']).each(function(i, field) {
|
$(['first_name','last_name','email','password']).each(function(i, field) {
|
||||||
var $input = $('form.signUpForm #new_'+field);
|
var $input = $('form.signUpForm #new_'+field);
|
||||||
if (!$input.val()) {
|
if (!$input.val()) {
|
||||||
@ -221,7 +223,7 @@
|
|||||||
->placeholder(trans('texts.email'))
|
->placeholder(trans('texts.email'))
|
||||||
->autocomplete('email')
|
->autocomplete('email')
|
||||||
->label(' ') !!}
|
->label(' ') !!}
|
||||||
{!! Former::password('new_password')
|
{!! Former::text('new_password')
|
||||||
->placeholder(trans('texts.password'))
|
->placeholder(trans('texts.password'))
|
||||||
->autocomplete('new-password')
|
->autocomplete('new-password')
|
||||||
->label(' ') !!}
|
->label(' ') !!}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user