Closed (fixed)
Project:
privatemsg_draft
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Aug 2011 at 21:27 UTC
Updated:
10 Sep 2011 at 23:21 UTC
Instead of using $_GET, and hacking in to the '/new' form, it makes more sense to provide another menu callback and wrapping around the privatemsg form.
To do this:
Comments
Comment #1
deviantintegral commentedJust noticed hook_privatemsg_message_insert(), so you can ignore my comment about #submit.
Comment #2
chrisfree commentedComment #3
chrisfree commentedComment #4
chrisfree commentedMarking as fixed for now. My only concern is with the draft edit page for "reply" drafts. Calling "privatemsg_form_reply()" directly is great, except that it doesn't render the entire thread that the user is responding to. So the reply draft doesn't really have much context. For now, I've added a simple link back to the thread. I'll consider this a to-do for later.