angular-block-ui
angular-block-ui copied to clipboard
Suspend/Resume Blocking
I have an existing AngularJS app that has a bunch of blockUI calls to block while fetching data from the server. I am currently implementing an elevated permissions system where when our users try to modify data in certain environments, we ask them to log in through another modal to get elevated permissions.
I am doing this using an interceptor on a global basis based on the header in the request. I am able to check to see if the block ui modal is up and reset it, but I cannot figure out how to show it again with the same message after the elevated access authentication is successful.
Is there a way to suspend and resume the current block ui? Or get the message in the current block ui so I can re-start it?