Project

General

Profile

« Previous | Next » 

Revision 55056

2nd attempt to fix utf-8 issue

View differences:

datasource-update-form.component.ts
280 280
    } else if (this.updateGroup.get('platformName').value) {
281 281
      this.selectedRepo.typology = this.updateGroup.get('platformName').value;
282 282
    }
283
    this.selectedRepo.officialName = encodeURI(this.updateGroup.get('officialName').value);
284
    this.selectedRepo.description = encodeURI(this.updateGroup.get('repoDescription').value);
283
    this.selectedRepo.officialName = this.updateGroup.get('officialName').value.toString();
284
    this.selectedRepo.description = this.updateGroup.get('repoDescription').value.toString();
285 285
    this.selectedRepo.countryCode = this.updateGroup.get('country').value;
286 286
    this.selectedRepo.countryName = this.countries.filter(x => x.code === this.updateGroup.get('country').value)[0].name;
287 287
    this.selectedRepo.longitude = this.updateGroup.get('longtitude').value;
288 288
    this.selectedRepo.latitude = this.updateGroup.get('latitude').value;
289 289
    this.selectedRepo.websiteUrl = this.updateGroup.get('websiteUrl').value;
290
    this.selectedRepo.organization = encodeURI(this.updateGroup.get('institutionName').value);
291
    this.selectedRepo.englishName = encodeURI(this.updateGroup.get('englishName').value);
290
    this.selectedRepo.organization = this.updateGroup.get('institutionName').value.toString();
291
    this.selectedRepo.englishName = this.updateGroup.get('englishName').value.toString();
292 292
    this.selectedRepo.logoUrl = this.updateGroup.get('logoUrl').value;
293 293
    this.selectedRepo.timezone = this.updateGroup.get('timezone').value;
294 294
    this.selectedRepo.datasourceClass = this.updateGroup.get('datasourceType').value;

Also available in: Unified diff