fix bug
This commit is contained in:
@@ -2,14 +2,23 @@
|
||||
$(document).ready(function () {
|
||||
$('#WithoutRollCall').on('change', function () {
|
||||
var workshopSetting=$('#workshopSettingSelect');
|
||||
var nextStep3= $('#nextStep3');
|
||||
var SelectList=$('.errorSelection');
|
||||
if ($(this).is(':checked')) {
|
||||
if(currentUrl.includes("/Client/Company/RollCall/EmployeeUploadPicture"))
|
||||
{
|
||||
console.log(currentUrl);
|
||||
nextStep3.prop('disabled', true);
|
||||
nextStep3.addClass('disable');
|
||||
}
|
||||
workshopSetting.val('0').trigger('change');;
|
||||
workshopSetting.prop('disabled', true);
|
||||
SelectList.addClass('disable');
|
||||
} else {
|
||||
workshopSetting.prop('disabled', false);
|
||||
SelectList.removeClass('disable');
|
||||
nextStep3.prop('disabled', false);
|
||||
nextStep3.removeClass('disable');
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user