From 90e4c7dc7448f870a3e1689c0f05a7f4d1d0c25f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Delobelle?= Date: Sat, 3 Sep 2016 19:09:38 +0200 Subject: [PATCH] =?UTF-8?q?Fix=20cr=C3=A9ation=20compte=20depuis=20K-Psul?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kfet/templates/kfet/kpsul.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kfet/templates/kfet/kpsul.html b/kfet/templates/kfet/kpsul.html index bd6ccb6c..d02cf7c0 100644 --- a/kfet/templates/kfet/kpsul.html +++ b/kfet/templates/kfet/kpsul.html @@ -145,7 +145,7 @@ $(document).ready(function() { // Initializing var account_container = $('#account'); var triInput = $('#id_trigramme'); - account_data = {}; + var account_data = {}; var account_data_default = { 'id' : 0, 'name' : '', @@ -209,8 +209,8 @@ $(document).ready(function() { } function resetAccount() { - resetAccountData(); triInput.val(''); + resetAccountData(); } // Store data