#5572 - PMs opening in overlay mode when loaded as full URL
| Identifier | #5572 |
|---|---|
| Issue type | Trivial issue (does not break functionality) |
| Title | PMs opening in overlay mode when loaded as full URL |
| Status | Completed |
| Handling member | PDStig |
| Version | 10.0.44 |
| Addon | core_form_interfaces |
| Description | I wrote a PM to someone. I included a word that is on the bad word list and it caught it, I then deleted the word and hit ok then send after. I sent the PM the screen went into what I would refer to as mobile (Fullscreen) mode and I had to reload from home to get the template back to normal size. |
| Steps to reproduce | |
| Funded? | No |
| Commits |
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".


Comments
(Click to enlarge)
PMs opening in overlay mode / wide high when loaded as full URL (e.g. wordfilter blocks).
This was an issue in do_form_submit which would leave / set the form target to _top, causing the overlay to direct the browser to a wide_high / overlay style page.
I added a clause in there that if overlay=1 is in the URL, then we set the form target to _self instead, which will make the overlay, not the browser, load the URL, as it should.