- Code: Select all
**
* Callback method for when solution is closed, force boolean argument tells if this is a force (not stoppable) close or not.
*
* @param {Boolean} force if false then solution close can be stopped by returning false
*
* @return {Boolean}
*
* @properties={typeid:24,uuid:"0F5045E5-F376-4910-A7BF-82366617CA01"}
*/
function onSolutionClose( force )
{
application.output('onClose bForce: ' + force );
return true;
}
First, how is a value for the "force" parameter passed? I do not call onSolutionClose directly. I thought it was supposed to be called automatically in response to the user clicking the browser or tab's close box. How then does the "force" parameter get its value?
Is what I am doing right? As far as I can see my method is never called.
I tried this on my solution and on my Login module with the same results.
We are using 202209.2 developer on Windows 10.
We are still working with the NG1 forms. We have not moved to Titanium.