Commit c72abdaa authored by zheng liu's avatar zheng liu

Merged in dev (pull request #61)

fix: update
parents 3a3f5c1d dd8e1404
......@@ -16,12 +16,7 @@ import {TermWS} from '../../globals';
// term: any;
// }
export class Rdp {
machine: string;
token: string;
client: any;
iframe: any;
}
export class View {
nick: string;
......@@ -33,7 +28,7 @@ export class View {
host: any;
user: any;
room: string;
Rdp: Rdp;
Rdp: any;
Term: any;
}
......
......@@ -44,7 +44,7 @@ export class ControlnavComponent implements OnInit {
if (NavList.List[index].type === 'ssh') {
NavList.List[index].Term.focus();
} else if (NavList.List[index].type === 'rdp') {
NavList.List[index].Rdp.iframe.focus();
NavList.List[index].Rdp.focus();
}
} else {
......
......@@ -46,7 +46,7 @@ export class ElementGuacamoleComponent implements OnInit {
} else {
this.target = this._cookie.get('guacamole');
}
NavList.List[this.index].Rdp.iframe = this.el.nativeElement;
NavList.List[this.index].Rdp = this.el.nativeElement;
}
trust(url) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment