sap.m.BusyDialog extra event
At the moment we only have the close event, it would be nice if we could distinguish between it closing after explicitly calling .close() within the program and it being cancelled manually by a user clicking the cancel button as you may want to do different actions in each case.
Hi LucienCooper,
there's a parameter called "cancelPressed" in the close event object which indicates whether the close of the BusyDialog is triggered by pressing the close button.
Best regards, Jiawei
I see, where would one find a list of such parameters in the API reference, I don't see it in the explored app either?
Sorry that I forgot to tell you that this parameter was introduced after the release of OpenUI5 version 1.22 which means it will be available first from OpenUI5 version 1.24 which will be published next week.
Since this is a new feature of the control, we decided not to downport it to 1.22 patches therefore please use 1.24 release after it's available.
Jiawei
Ah that would explain it, I'm using 1.22.10 and I was looking at the event object in chrome and couldn't see the parameter at all, which added even more confusion. Thanks for the clarification!