[Trunk | Library]: project.component: [Bug fix]: In widget (functionality to import research results - right column of page), fix content for software and other (src without line change).

git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@57855 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
konstantina.galouni 2019-12-11 11:13:57 +00:00
parent 7157e358a2
commit 9dea633bd8
1 changed files with 2 additions and 2 deletions

View File

@ -206,7 +206,7 @@ export class ProjectComponent {
+ "\n<!--"
+ "\ndocument.write('<div id=\"oa_widget\"></div>');"
+ "\ndocument.write('<script type=\"text/javascript\""
+ "\nsrc=\"" + this.properties.widgetLink
+ " src=\"" + this.properties.widgetLink
+ this.projectId + "&type=software\"></script>');"
+ "\n-->"
+ "\n</script>";
@ -216,7 +216,7 @@ export class ProjectComponent {
+ "\n<!--"
+ "\ndocument.write('<div id=\"oa_widget\"></div>');"
+ "\ndocument.write('<script type=\"text/javascript\""
+ "\nsrc=\"" + this.properties.widgetLink
+ " src=\"" + this.properties.widgetLink
+ this.projectId + "&type=other\"></script>');"
+ "\n-->"
+ "\n</script>";