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:
@@ -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();\
|
||||
|
||||
Reference in New Issue
Block a user