I want to send an AJAX action to the server immediately in response to a state transition. If I call checkAction() directly inside onUpdateActionButtons(), the interface is still locked at this time.
Is there any standard way to queue up an action or detect when the interface unlocks? Reversing ly_studio.js, I see a function isInterfaceUnlocked() to query the current status and another function unlockInterface() to handles the change, but both are undocumented. Looks like I need to save the queued action myself and override unlockInterface() with my own version that runs the queued action?
Is there any standard way to queue up an action or detect when the interface unlocks? Reversing ly_studio.js, I see a function isInterfaceUnlocked() to query the current status and another function unlockInterface() to handles the change, but both are undocumented. Looks like I need to save the queued action myself and override unlockInterface() with my own version that runs the queued action?