Here's what's supposed to happen
A user clicks a button which opens a custom class (Window)
Within the initWidget of the window I use the RPCManager.sendRequest to fetch data needed to build the window
On Callback of the sendRequest the window adds a few autochildren
Here's the issue
If a user clicks the button to open the window and then immediately presses escape, the send request (from the network tab) gets the status (canceled)
That request is then handled by our system as an error so I want to disable the escape key until after the request callback.
Here's what I tried
I tried setting dismissOnEscape on the window to false
I tried overridding cancelQueue on the RPCManager
I tried implementing my own KeyDown on the window
Any suggestions would be immensely helpful, thank you for your time
SmartClient version (available on lower left of Developer Console)
SmartClient Version: v11.0p_2017-02-16/Pro Development Only (built 2017-02-16)
Comment