[Library | Trunk]: B2Note: Change position to fixed. Change url to pid
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58750 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
0012fd0003
commit
772d9e9410
|
@ -22,7 +22,7 @@ import {EnvProperties} from "../../utils/properties/env-properties";
|
|||
<input
|
||||
type="hidden"
|
||||
name="subject_tofeed"
|
||||
[value]="url">
|
||||
[value]="pid">
|
||||
<!--PID of the annotated record-->
|
||||
<input
|
||||
type="hidden"
|
||||
|
@ -105,7 +105,7 @@ export class AnnotationComponent implements OnInit, OnDestroy {
|
|||
} else {
|
||||
this.pid = id;
|
||||
}
|
||||
this.annotationService.getAllAnnotations(this.properties, this.url).subscribe(annotations => {
|
||||
this.annotationService.getAllAnnotations(this.properties, this.pid).subscribe(annotations => {
|
||||
this.annotations = annotations;
|
||||
});
|
||||
}
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
.widget-container {
|
||||
position: absolute;
|
||||
position: fixed;
|
||||
left: 50%;
|
||||
top: 50%;
|
||||
z-index: 10001;
|
||||
z-index: 5;
|
||||
padding: 19px;
|
||||
margin-left: -167px;
|
||||
margin-top: -311px;
|
||||
|
|
Loading…
Reference in New Issue