In boxes_footer we need to make sure we trim the rendered output.

Somewhere along the way, the blocks, when rendered, began sometimes having a newline at the end of the string of html. When this is delivered to be inserted, it causes ajax.js (the Drupal ajax framework) to wrap it in a

. This causes context ui to be unable to find block in regions as it demands that they be top level elements.

I think the easy fix for right now is to simply trim the output to prevent this issue.

Patch incoming.

Comments

jec006’s picture

Status: Active » Needs review
StatusFileSize
new544 bytes

as promised

tirdadc’s picture

Assigned: Unassigned » tirdadc
Status: Needs review » Fixed

Committed, thanks. We'll look into finding where that space gets added later, but this works fine.

http://drupalcode.org/project/boxes.git/commit/3e66c35

Status: Fixed » Closed (fixed)

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