openui5 icon indicating copy to clipboard operation
openui5 copied to clipboard

sap.m.BusyDialog extra event

Open luciencooper opened this issue 12 years ago • 4 comments

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.

luciencooper avatar Oct 09 '14 13:10 luciencooper

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

stopcoder avatar Oct 09 '14 13:10 stopcoder

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?

luciencooper avatar Oct 09 '14 13:10 luciencooper

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

stopcoder avatar Oct 09 '14 14:10 stopcoder

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!

luciencooper avatar Oct 09 '14 14:10 luciencooper