Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
web-ui
Project
Overview
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
WEBGDE-Components
web-ui
Commits
ada65c9e
Commit
ada65c9e
authored
May 12, 2023
by
Daniel Bawag
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WG-264 - Fixed multiple pause modals
parent
2b1c02a8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
4 deletions
+9
-4
config.js
WebGde/WebContent/config.js
+2
-2
captureMetrics.js
WebGde/WebContent/src/captureMetrics/captureMetrics.js
+7
-2
No files found.
WebGde/WebContent/config.js
View file @
ada65c9e
...
...
@@ -39,7 +39,7 @@ var HIGH_LIGHT_SCHEMA = "./src/highlight/dbSchema_anno.xlsx"
//this determines if the images will be retrieved from the gfs
var
DOMAIN
=
"http://35.169.23.0:8080"
var
CONTEXTROOT
=
"gfs-explorer-ws"
var
GFS_URL
=
"http://
54.175.99.6
4:8080"
+
"/WebGde/svc/gfs-rest"
var
GFS_URL
=
"http://
35.171.20.9
4:8080"
+
"/WebGde/svc/gfs-rest"
var
FOLDER_URL
=
DOMAIN
+
"/"
+
CONTEXTROOT
+
"/svc/gfs-rest/get-folder?parentPath=/Users/"
var
DOWNLOAD_URL
=
DOMAIN
+
"/"
+
CONTEXTROOT
+
"/svc/gfs-rest/get-download-link"
var
IS_RETRIEVE_FROM_GFS
=
"N"
...
...
@@ -48,7 +48,7 @@ var INVALID_KEYS = "F1,F2,F3,F4,F5,F6,F7,F8,F9,F10,F11,F12,PrintScreen,ScrollLoc
//BPO CONFIG
var
IS_RETRIEVE_FROM_BPO
=
"Y"
var
BPO_URL
=
"http://
54.175.99.64:8080/bpo
/"
var
BPO_URL
=
"http://
35.171.20.94:8080/bpo-sqa
/"
var
CURRENT_NODE
=
"Web GDE"
var
ENCODING_PASS
=
"PASS1"
var
NEXT_NODE
=
"Complete"
...
...
WebGde/WebContent/src/captureMetrics/captureMetrics.js
View file @
ada65c9e
...
...
@@ -73,12 +73,16 @@ const startMetricCapture = () => {
let
pause
=
document
.
getElementById
(
"pause"
);
pause
.
onclick
=
(
event
)
=>
{
pauseMetricCapture
();
if
(
document
.
getElementById
(
"pauseLabel"
)
==
null
)
{
pauseMetricCapture
();
}
/*disableTiffButtons();*/
}
document
.
addEventListener
(
'keydown'
,
function
(
event
)
{
if
(
event
.
key
===
'Escape'
||
event
.
key
===
'Esc'
)
{
pauseMetricCapture
();
if
(
document
.
getElementById
(
"pauseLabel"
)
==
null
)
{
pauseMetricCapture
();
}
}
});
...
...
@@ -231,6 +235,7 @@ function promptPaused() {
pauseDiv
.
classList
.
add
(
"parent_Window"
);
var
pauseLabel
=
document
.
createElement
(
'div'
);
pauseLabel
.
id
=
"pauseLabel"
;
pauseLabel
.
textContent
=
'Session Paused'
;
var
okButton
=
document
.
createElement
(
'div'
);
...
...
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