From f6560d0af9e8483b5801f5c6c1fe32845e460a4e Mon Sep 17 00:00:00 2001 From: rswindell <> Date: Sun, 27 Jan 2019 21:34:13 +0000 Subject: [PATCH] As requested by Mark Lewis: reflect the new setting in the menu once it is changed --- exec/tickitcfg.js | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/exec/tickitcfg.js b/exec/tickitcfg.js index bf227a0dfb..8ec269cc2c 100644 --- a/exec/tickitcfg.js +++ b/exec/tickitcfg.js @@ -322,20 +322,20 @@ function main() var cmd = 0; var link = 0; var links; - var menu = ["Global AKA Matching : "+(tickit.gcfg.akamatching === true ? "Yes" : "No"), - "Global Force Replace : "+(tickit.gcfg.forcereplace === true ? "Yes" : "No"), - "Global Ignore Password: "+(tickit.gcfg.ignorepassword === true ? "Yes" : "No"), - "Global Secure Only : "+(tickit.gcfg.secureonly === true ? "Yes" : "No"), - "Global Source Address : "+(tickit.gcfg.sourceaddress === undefined ? "" : tickit.gcfg.sourceaddress), - "Global Uploader Name : "+(tickit.gcfg.uploader === undefined ? "" : tickit.gcfg.uploader), - "Global Location : ", - "Global Links : ", - "Areas..."]; var tmp; var tmp2; var ctx = new uifc.list.CTX(); while(cmd >= 0) { + var menu = ["Global AKA Matching : "+(tickit.gcfg.akamatching === true ? "Yes" : "No"), + "Global Force Replace : "+(tickit.gcfg.forcereplace === true ? "Yes" : "No"), + "Global Ignore Password: "+(tickit.gcfg.ignorepassword === true ? "Yes" : "No"), + "Global Secure Only : "+(tickit.gcfg.secureonly === true ? "Yes" : "No"), + "Global Source Address : "+(tickit.gcfg.sourceaddress === undefined ? "" : tickit.gcfg.sourceaddress), + "Global Uploader Name : "+(tickit.gcfg.uploader === undefined ? "" : tickit.gcfg.uploader), + "Global Location : ", + "Global Links : ", + "Areas..."]; cmd = uifc.list(WIN_ORG|WIN_ACT|WIN_MID|WIN_ESC, "Global Options", menu, ctx); switch(cmd) { case 0: -- GitLab