diff --git a/BottomSpace/DeleteTradingHistory.js b/BottomSpace/DeleteTradingHistory.js index be4e94b2c..e068bfb48 100644 --- a/BottomSpace/DeleteTradingHistory.js +++ b/BottomSpace/DeleteTradingHistory.js @@ -46,7 +46,7 @@ function newDeleteTradingHistory() { canDrawIcon = true; } - icon.src = "Images/trash.png"; + icon.src = "Images/Icons/trash.png"; thisObject.container.eventHandler.listenToEvent("onMouseClick", onClick); @@ -294,8 +294,8 @@ function newDeleteTradingHistory() { let breakpointsHeight = 15; - let imageHeight = 30; - let imageWidth = 30; + let imageHeight = 15; + let imageWidth = 15; let imagePoint = { x: 10, diff --git a/Images/Icons/trash.png b/Images/Icons/trash.png new file mode 100644 index 000000000..427c65d5d Binary files /dev/null and b/Images/Icons/trash.png differ diff --git a/Images/trash.png b/Images/trash.png deleted file mode 100644 index 1c1ee7b48..000000000 Binary files a/Images/trash.png and /dev/null differ diff --git a/TopSpace/Login.js b/TopSpace/Login.js index d21947826..df39b411f 100644 --- a/TopSpace/Login.js +++ b/TopSpace/Login.js @@ -60,6 +60,14 @@ function newLogin() { currentLabel = "Logout"; + if (window.location.search !== "?" + sessionToken ) { + + /* When the user was logged in, and we navigate again to the platform url alone, we need to re-submit the token session to AAWeb */ + + window.location = "/index.html?" + sessionToken; + return; + } + } else { if (userAuthorization === "") {