Precision patch ported from this issue
Removed only the:
ctools_ajax_command_messages - enable drupal messages for ajax callbacks.
Tries to identify top of form and adds the messages where you would expect them.
Works great for messages after modal submits and closes.
Rolled against head, your comments welcome.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | message_command-HEAD.patch | 2.1 KB | dawehner |
| message_command-HEAD.patch | 1.83 KB | nickl |
Comments
Comment #1
merlinofchaos commentedPatch failed to apply, probably due to #478438: ajax command $.data. I like this too, though, and am willing to put it in as well.
Comment #2
nickl commentedApologies Earl, this got lost under all the papers... bumping it up on My issues to pay attention to it again.
Coming to think of it there were some plugin stuff I also wanted to contribute, where's that yellow paper with the coffee mug stain...
Comment #3
dawehnerI don't get why we need this cod:
Anyway here is a rerole
Comment #4
merlinofchaos commentedI guess with the reroll this should be nr again.
Comment #5
merlinofchaos commentedI'm not sure I like the assumption about placing the messages before the first form that isn't the search form. What if there is no form?
I understand that this is generally difficult because there isn't necessarily a marker to tell us where the messages should go, but I think this assumption will break a lot.
Comment #6
merlinofchaos commentedDecided to won't fix this because we cannot rely on messages div, nor should we force that issue.