Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
L
luna
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ops
luna
Commits
c72abdaa
Commit
c72abdaa
authored
Mar 07, 2018
by
zheng liu
Browse files
Options
Browse Files
Download
Plain Diff
Merged in dev (pull request #61)
fix: update
parents
3a3f5c1d
dd8e1404
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
9 deletions
+4
-9
control.component.ts
src/app/ControlPage/control/control.component.ts
+2
-7
controlnav.component.ts
...pp/ControlPage/control/controlnav/controlnav.component.ts
+1
-1
guacamole.component.ts
src/app/elements/guacamole/guacamole.component.ts
+1
-1
No files found.
src/app/ControlPage/control/control.component.ts
View file @
c72abdaa
...
...
@@ -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
;
}
...
...
src/app/ControlPage/control/controlnav/controlnav.component.ts
View file @
c72abdaa
...
...
@@ -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
{
...
...
src/app/elements/guacamole/guacamole.component.ts
View file @
c72abdaa
...
...
@@ -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
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment