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
4de02a8f
Unverified
Commit
4de02a8f
authored
Jan 11, 2018
by
liuzheng712
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: focus
parent
3b00d8d3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
controlnav.component.ts
...pp/ControlPage/control/controlnav/controlnav.component.ts
+1
-0
json.component.ts
src/app/replay-page/json/json.component.ts
+1
-2
No files found.
src/app/ControlPage/control/controlnav/controlnav.component.ts
View file @
4de02a8f
...
@@ -46,6 +46,7 @@ export class ControlnavComponent implements OnInit {
...
@@ -46,6 +46,7 @@ export class ControlnavComponent implements OnInit {
if
(
NavList
.
List
[
index
].
type
===
'ssh'
)
{
if
(
NavList
.
List
[
index
].
type
===
'ssh'
)
{
jQuery
(
'app-ssh'
).
show
();
jQuery
(
'app-ssh'
).
show
();
jQuery
(
'app-rdp'
).
hide
();
jQuery
(
'app-rdp'
).
hide
();
NavList
.
List
[
index
].
Term
.
term
.
focus
();
}
else
if
(
NavList
.
List
[
index
].
type
===
'rdp'
)
{
}
else
if
(
NavList
.
List
[
index
].
type
===
'rdp'
)
{
jQuery
(
'app-ssh'
).
hide
();
jQuery
(
'app-ssh'
).
hide
();
jQuery
(
'app-rdp'
).
show
();
jQuery
(
'app-rdp'
).
show
();
...
...
src/app/replay-page/json/json.component.ts
View file @
4de02a8f
import
{
Component
,
OnInit
}
from
'@angular/core'
;
import
{
Component
,
OnInit
}
from
'@angular/core'
;
import
{
Video
}
from
'../../globals'
;
import
{
Video
,
term
}
from
'../../globals'
;
import
{
term
}
from
'../../globals'
;
@
Component
({
@
Component
({
selector
:
'app-json'
,
selector
:
'app-json'
,
...
...
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