From 071fa968a1db751b615309e73c3b83dd890468ef Mon Sep 17 00:00:00 2001 From: Vivek Teega Date: Mon, 28 Sep 2020 16:55:12 +0530 Subject: [PATCH] Bug fix : Applyactionlist gets disabled MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Applyaction list gets disabled for pre-existing users and they weren’t able to apple. The bug is fixed --- index.html | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/index.html b/index.html index eb614d2..01d59fc 100644 --- a/index.html +++ b/index.html @@ -10102,6 +10102,8 @@ var temp = JSON.parse(applicants_InformationArray[i]['message']) myFloID_Projects.push(temp[myFloID]['project']) + debugger + // force user to not change his details if he already exists if (tcounter == 0) { document.getElementById('name').value = temp[myFloID]['name'] @@ -10116,10 +10118,10 @@ document.getElementById('dob').readOnly = true document.getElementById('whatsapp').value = 'encrypted' document.getElementById('whatsapp').readOnly = true - document.getElementById('applyactionlist_apply').style.display = 'none' - document.getElementById('directapply_resetform').style.display = 'none' - document.getElementById('applyactionlist_apply').disabled = 'true' - document.getElementById('directapply_resetform').disabled = 'true' + //document.getElementById('applyactionlist_apply').style.display = 'none' + //document.getElementById('directapply_resetform').style.display = 'none' + //document.getElementById('applyactionlist_apply').disabled = 'true' + //document.getElementById('directapply_resetform').disabled = 'true' tcounter = tcounter + 1 } } @@ -10165,6 +10167,8 @@ applicationformHtml } + debugger + document.getElementById('projectactionlist').style.display = 'flex' });