A stretch to call this a bug report, but...

An empty <div id="messages"> is written when no messages are inside it. I've had a few styling problems that were easier to solve with the #messages <div> omitted unless there are messages to display. Patch below.

Members fund testing for the Drupal project. Drupal Association Learn more


mshepherd’s picture

Status: Active » Needs review
1.88 KB

Patch attached for review

Jeff Burnz’s picture

Now, how did I miss this one for so long, will review tomorrow!

Jeff Burnz’s picture

OK, we can get away with this, but it seems like a hack, that its a bug in Drupal core rendering system, which is OK since we often work around such issues and have done all along in D7.

Jeff Burnz’s picture

Issue summary: View changes
Status: Needs review » Fixed

Fixed! Thank-you for the patch :)

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.