Exit Application does not execute in a WebDirect session when there is an OnLastWindowClose script configured.
Operating system version
Description of the issue
The Exit Application script step or button action fails to execute if there is an OnLastWindowClose script step configured.
Steps to reproduce the problem
Host a filemaker file with FileMaker Server 13 and configure it for access via WebDirect. Create an empty script (no script steps) and configure this script to run "OnLastWindowClose". Create a single layout and place a button on the layout and configure that button to run the "Exit Application" action.
Connect to this file via WebDirect and click the button.
User should be logged out and redirected to the WebDirect "Select A Database" page.
Exact text of any error message(s) that appear
Test file available on request.
Disable the OnLastWindowClose script trigger or use "Close Window" instead!