Submitting...
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/pd-questions/common-ques/common-ques.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/pd-questions/common-ques/common-ques.component.ts
index 6feede3..1820670 100755
--- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/pd-questions/common-ques/common-ques.component.ts
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/pd-questions/common-ques/common-ques.component.ts
@@ -1390,16 +1390,16 @@ onSubmit(flag?) {
records.is_form_validated = flag == 'go_back' ? '0' : '1'
this.quesService.savePDFormDetailsWithID(records).subscribe(result=>{
if(result['dataStatus']) {
- if(flag != 'go_back') {
+ // if(flag != 'go_back') {
this.notifier.notify('success',"Saved Successfully...",);
- }
+ // }
this.firstFormGroup.markAsPristine();
this.firstFormGroup.markAsUntouched();
- if(flag != 'go_back') {
+ // if(flag != 'go_back') {
setTimeout(()=>{
this.dialogRef.close()
},3000)
- }
+ // }
}
else {
this.notifier.notify('warning',"Something went wrong");
@@ -1418,7 +1418,7 @@ canDeactivate(){
// this.timer.unsubscribe();
console.log(this.firstFormGroup.dirty)
if(this.firstFormGroup.dirty){
- this.onSubmit('go_back');
+ // this.onSubmit('go_back');
// return this.constant.chekAlertOnLeave().then(res=>{
// console.log(res)
// return res
@@ -1654,7 +1654,7 @@ dynamicOnChangeValidations(choosed_value,controls_arr,value_compare) {
ngOnDestroy() {
console.log("Common ques component destroyed");
if(this.firstFormGroup.dirty){
- this.onSubmit('go_back');
+ // this.onSubmit('go_back');
// return this.constant.chekAlertOnLeave().then(res=>{
// console.log(res)
// return res
diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/pd-questions/employer-info/employer-info.component.html b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/pd-questions/employer-info/employer-info.component.html
index b7aab9b..a5825ba 100755
--- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/pd-questions/employer-info/employer-info.component.html
+++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/pd-questions/employer-info/employer-info.component.html
@@ -1115,6 +1115,7 @@ Image -->
+