Fix création compte depuis K-Psul

This commit is contained in:
Aurélien Delobelle 2016-09-03 19:09:38 +02:00
parent 6fd07ee6f2
commit 90e4c7dc74

View file

@ -145,7 +145,7 @@ $(document).ready(function() {
// Initializing // Initializing
var account_container = $('#account'); var account_container = $('#account');
var triInput = $('#id_trigramme'); var triInput = $('#id_trigramme');
account_data = {}; var account_data = {};
var account_data_default = { var account_data_default = {
'id' : 0, 'id' : 0,
'name' : '', 'name' : '',
@ -209,8 +209,8 @@ $(document).ready(function() {
} }
function resetAccount() { function resetAccount() {
resetAccountData();
triInput.val(''); triInput.val('');
resetAccountData();
} }
// Store data // Store data