Skip to content
Snippets Groups Projects
Commit b4b98f13 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Fix return return value when methods auto-open a message base (e.g. save_msg())

js_open() sets the rval for the context (e.g. to JSVAL_TRUE), so we need to set
it back to JSVAL_FALSE for failure conditions. Otherwise, the methods always
return true even upon (save-msg) failure.
parent c6d6ee51
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment