Commit ada65c9e by Daniel Bawag

WG-264 - Fixed multiple pause modals

parent 2b1c02a8
......@@ -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.64:8080" + "/WebGde/svc/gfs-rest"
var GFS_URL = "http://35.171.20.94: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"
......
......@@ -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');
......
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