1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2025-12-15 07:43:50 +00:00

Fixed bug in message box return value, introduced with new alert modifications

This commit is contained in:
Bryan Roe
2020-04-04 14:17:22 -07:00
parent e89274c835
commit 0c1d7d6caa
2 changed files with 13 additions and 13 deletions

View File

@@ -57,16 +57,16 @@ var childScript = "\
{\
switch(r.Val)\
{\
case IDOK.toString():\
case IDCANCEL.toString():\
case IDABORT.toString():\
case IDRETRY.toString():\
case IDIGNORE.toString():\
case IDYES.toString():\
case " + IDOK.toString() + ":\
case " + IDCANCEL.toString() + ":\
case " + IDABORT.toString() + ":\
case " + IDRETRY.toString() + ":\
case " + IDIGNORE.toString() + ":\
case " + IDYES.toString() + ":\
require('ScriptContainer').send(r.Val);\
break;\
default:\
require('ScriptContainer').send(IDNO.toString());\
require('ScriptContainer').send(" + IDNO.toString() + ");\
break;\
}\
process.exit();\