Skip to content
Snippets Groups Projects
Commit 29cefe1d authored by Martin Mechtel's avatar Martin Mechtel
Browse files

version 0.12 for IEA

parent 653d3b82
No related branches found
No related tags found
No related merge requests found
...@@ -20,7 +20,7 @@ export class UnitCheckComponent implements OnInit, OnDestroy { ...@@ -20,7 +20,7 @@ export class UnitCheckComponent implements OnInit, OnDestroy {
@ViewChild('iFrameHost') iFrameHostElement: ElementRef; @ViewChild('iFrameHost') iFrameHostElement: ElementRef;
unitcheckEnabled = false; unitcheckEnabled = false;
private iFrameItemplayer: HTMLIFrameElement; private iFrameItemplayer: HTMLIFrameElement = null;
private postMessageSubscription: Subscription = null; private postMessageSubscription: Subscription = null;
private itemplayerSessionId = ''; private itemplayerSessionId = '';
private postMessageTarget: Window = null; private postMessageTarget: Window = null;
...@@ -37,6 +37,9 @@ export class UnitCheckComponent implements OnInit, OnDestroy { ...@@ -37,6 +37,9 @@ export class UnitCheckComponent implements OnInit, OnDestroy {
private bs: BackendService, private bs: BackendService,
private lds: LogindataService private lds: LogindataService
) { ) {
}
ngOnInit() {
this.itemplayerPageRequest$.subscribe((newPage: string) => { this.itemplayerPageRequest$.subscribe((newPage: string) => {
if (newPage.length > 0) { if (newPage.length > 0) {
this.postMessageTarget.postMessage({ this.postMessageTarget.postMessage({
...@@ -116,10 +119,6 @@ export class UnitCheckComponent implements OnInit, OnDestroy { ...@@ -116,10 +119,6 @@ export class UnitCheckComponent implements OnInit, OnDestroy {
}); });
} }
ngOnInit() {
this.iFrameItemplayer = null;
}
// // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // //
public loadUnit(unitId: string) { public loadUnit(unitId: string) {
this.dataLoading = true; this.dataLoading = true;
......
...@@ -5,5 +5,5 @@ export const environment = { ...@@ -5,5 +5,5 @@ export const environment = {
testcenterUrl: '/', testcenterUrl: '/',
appName: 'IQB-Testcenter', appName: 'IQB-Testcenter',
appPublisher: 'IQB - Institut zur Qualitätsentwicklung im Bildungswesen', appPublisher: 'IQB - Institut zur Qualitätsentwicklung im Bildungswesen',
appVersion: '0.12.1 - 9.11.2018' appVersion: '0.13.0 - 18.12.2018'
}; };
...@@ -21,7 +21,9 @@ ...@@ -21,7 +21,9 @@
</head> </head>
<body> <body>
<tc-root></tc-root> <tc-root>
<p style="margin: 20px; color: white;">IQB-Testcenter: Dieser Browser wird nicht unterstützt.</p>
</tc-root>
</body> </body>
</html> </html>
<!-- class="mat-app-background"--> <!-- class="mat-app-background"-->
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment