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
d1f4767a
No related branches found
No related tags found
Please register or sign in to comment