Commit 5ea17d13 authored by Tristan A Spakes's avatar Tristan A Spakes

Adding lock message for the back button - 'Opened Main Menu'

parent 38ec2920
Pipeline #23230 passed with stages
in 1 minute and 7 seconds
/* Causes minor windows to close and the major page to
switch back to the home page when clicking the back button */
function backToMain() {
ipcRenderer.send('log', 'ORNL Toolbox: Opened \"Main Menu\"', 'info')
//Destroying any minor windows that were opened from the main window
ipcRenderer.send('close minor window')
// Change main window to user management window
ipcRenderer.send('load-page', './index.html')
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment