Article Details
Id:19133
Product:finPOWER Connect
Type:FIX
Version:3.04.04
Opened:29/03/2022
Closed:04/04/2022
Released:09/06/2022
Job: J028529

WebView2; Code after widget.Close() was not being executed

Traditionally, system-supplied HTML Widgets have put the "widget.Close()" function prior to running any Application Shortcuts which may open another HTML Widget. This was to ensure that the new HTML Widget was the only one to be considered open in the stack, therefore preventing a potential error when the original HTML Widget was closing.

For WebView2, this logic was not working correctly and any JavaScript after the "widget.Close()" function was not being run. This has been fixed, and now the behaviour is the same regardless of whether WebView2 is being used or not.