Bug fix : Applyactionlist gets disabled

Applyaction list gets disabled for pre-existing users and they weren’t able to apple. The bug is fixed
This commit is contained in:
Vivek Teega 2020-09-28 16:55:12 +05:30
parent ba8c6890fc
commit 071fa968a1

View File

@ -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'
});