used the following code by pressing button to call the branch.
apex.page.submit( {
request: "save",
showWait: true,
} );
Following BI Publisher report called on branch.
f?p=&APP_ID.:0:&SESSION.:PRINT_REPORT=report_summary
The spinner widget will be started displaying when long running report started generating.
But spinner is not removing once the long running report generated.
Even i tried window.onclose and several other related functions.
window.onclose = (function() {
#apex.wait.overlay.remove();
#u-processing.remove();
});
Timer function is also there but it has to be set statically time which is not practical when long running report does have different timing to get the reports.
setTimeout(function(){apex.widget.waitPopup()},10);
Any idea how to close the spinner dynamically?