I may be the only person to request this, so I don't think their will be much interest in my issue. I recently applied a custom patch HERE , but it doesn't seem to work well with ajaxing. While looking into a fix I realized that I don't need the actions "mark as read" and "mark as unread" in my use case. I can remove these options with CSS no problem. But, I do need "Delete" and I need it to work without ajax. Basically, I can fix my issue if the page would reload after I delete threads. What can i do to remove ajaxing for the "Delete" function?

Comments

ptmkenny’s picture

Status: Active » Closed (won't fix)

Privatemsg functions do work without AJAX; if you disable Javascript in your browser, you will see that the page is reloaded.

If your custom patch breaks the module, you have to fix the patch; it is not appropriate to file separate requests that module features be changed to make your patch work.

System Lord’s picture

My apologies. My intent wasn't to get PM to change to make my patch work. It's just that maybe one thing that will make the patch work is to turn off ajax there. At which point the function change would be included into the patch...not requested to be changed in PM core.

ptmkenny’s picture

Well, if you think that might work, just disable JS in your browser and test. PM is tested to work without JS, so if you suspect the AJAX is the problem, you can run without it easily by testing in your browser first.

However, when I skimmed the other thread, it seemed to be about adding user pictures to the inbox. Adding image files to the display should not break the AJAX in any case; if the method you are using does that, you may be breaking other things too without realizing it.