sms settings frontEnd bug fixed
This commit is contained in:
@@ -43,6 +43,9 @@
|
||||
case TypeOfSmsSetting.Warning:
|
||||
<h5 class="modal-title">ایجاد پیامک هشدار قضائی</h5>
|
||||
break;
|
||||
case TypeOfSmsSetting.InstitutionContractConfirm:
|
||||
<h5 class="modal-title">ایجاد پیامک یادآور تایید قراداد</h5>
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -41,6 +41,10 @@
|
||||
case TypeOfSmsSetting.Warning:
|
||||
<h5 class="modal-title">ویرایش پیامک هشدار قضائی</h5>
|
||||
break;
|
||||
case TypeOfSmsSetting.InstitutionContractConfirm:
|
||||
<h5 class="modal-title">ویرایش پیامک یادآور تایید قراداد</h5>
|
||||
break;
|
||||
|
||||
}
|
||||
}
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="بستن">
|
||||
@@ -100,8 +104,8 @@
|
||||
success: function (response) {
|
||||
if(response.isSuccess){
|
||||
$.Notification.autoHideNotify('success', 'top center', 'پیام سیستم ', response.message);
|
||||
$('.close').click();
|
||||
|
||||
|
||||
$('.close').click();
|
||||
setTimeout(function () {
|
||||
if(modelTypeOfSmsSetting == '@TypeOfSmsSetting.InstitutionContractDebtReminder'){
|
||||
$('#institutionContractDebtReminderTab').click();
|
||||
@@ -114,14 +118,16 @@
|
||||
}else if(modelTypeOfSmsSetting == '@TypeOfSmsSetting.Warning'){
|
||||
$('#warningTab').click();
|
||||
|
||||
}else if(typeOfSmsSetting == '@TypeOfSmsSetting.InstitutionContractConfirm'){
|
||||
}else if(modelTypeOfSmsSetting == '@TypeOfSmsSetting.InstitutionContractConfirm'){
|
||||
|
||||
$('#institutionContractConfirmTab').click();
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}, 500);
|
||||
}, 700);
|
||||
|
||||
}else{
|
||||
$.Notification.autoHideNotify('error', 'top center', 'پیام سیستم ', response.message);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user