Closed (fixed)
Project:
Boxes
Version:
7.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
12 Apr 2012 at 05:36 UTC
Updated:
26 Apr 2012 at 15:41 UTC
Jump to comment: Most recent file
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.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | boxes-context-ui-fix-box-output-1529296-1.patch | 544 bytes | jec006 |
Comments
Comment #1
jec006 commentedas promised
Comment #2
tirdadc commentedCommitted, thanks. We'll look into finding where that space gets added later, but this works fine.
http://drupalcode.org/project/boxes.git/commit/3e66c35