We're putting status messages on a page using the SPPageStatusSetter API (on the server end). This works absolutely fine until we open any pages inside an SP Modal.
For users in the App Owners group, the status bar and it's content shows up fine. For users in other groups (they're Restricted Read), it doesn't.
While trying to figure out what the hell was going on, I stumbled upon a post on the MSDN forums which says:
Another issue could be that the functionality 'Hide Ribbon' is active. This will place the following line into the output, which clears all statusses when document is ready.
document.onreadystatechange=fnRemoveAllStatus; function fnRemoveAllStatus(){removeAllStatus(true)};
I opened one of the pages up and sure enough, that line appears. But only when that page is opened in a SP modal.
Can anybody explain what causes it to appear, and more importantly, how to switch it off?
Thanks in advance.