Fix debug info
This commit is contained in:
parent
e77489aa3b
commit
e0025e9451
|
@ -118,7 +118,6 @@ export class DashboardComponent implements OnInit, OnDestroy {
|
||||||
|
|
||||||
reloadIframe() {
|
reloadIframe() {
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
console.log('reload timeout');
|
|
||||||
this.webiframe.nativeElement.contentWindow.location.reload(true);
|
this.webiframe.nativeElement.contentWindow.location.reload(true);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -147,12 +146,10 @@ export class DashboardComponent implements OnInit, OnDestroy {
|
||||||
iframeLoad(): void {
|
iframeLoad(): void {
|
||||||
if (this.webiframe) {
|
if (this.webiframe) {
|
||||||
this.actualIframeUrl = this.webiframe.nativeElement.contentWindow.frames.location.pathname;
|
this.actualIframeUrl = this.webiframe.nativeElement.contentWindow.frames.location.pathname;
|
||||||
console.log('load');
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
changeIframeURL() {
|
changeIframeURL() {
|
||||||
this.webiframe.nativeElement.contentWindow.frames.location.pathname = this.actualIframeUrl;
|
this.webiframe.nativeElement.contentWindow.frames.location.pathname = this.actualIframeUrl;
|
||||||
console.log('change url');
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue