Revision 51100
Added by Myrto Koukouli about 6 years ago
datasource-update-form.component.ts | ||
---|---|---|
149 | 149 |
this.updateGroup.get('softwarePlatform').setValue(''); |
150 | 150 |
this.updateGroup.get('platformName').setValue(this.selectedRepo.typology); |
151 | 151 |
} |
152 |
this.updateGroup.get('officialName').disable(); |
|
153 |
this.updateGroup.get('country').disable(); |
|
154 |
this.updateGroup.get('longtitude').disable(); // MAYBE NOT DISABLED |
|
155 |
this.updateGroup.get('latitude').disable(); // MAYBE NOT DISABLED |
|
156 |
this.updateGroup.get('websiteUrl').disable(); |
|
157 |
this.updateGroup.get('institutionName').disable(); |
|
152 | 158 |
if (this.selectedRepo.datasourceType == 'journal') { |
153 | 159 |
this.updateGroup.get('issn').setValue(this.selectedRepo.issn); |
154 |
this.updateGroup.get('eissn').setValue(this.selectedRepo.eissn); |
|
160 |
this.updateGroup.get('issn').disable(); |
|
161 |
this.updateGroup.get('eissn').setValue(this.selectedRepo.eissn); |
|
162 |
this.updateGroup.get('eissn').disable(); |
|
155 | 163 |
this.updateGroup.get('lissn').setValue(this.selectedRepo.lissn); |
164 |
this.updateGroup.get('lissn').disable(); |
|
156 | 165 |
} |
157 | 166 |
} |
158 | 167 |
} |
Also available in: Unified diff
various small changes