Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
block.module
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
10 Apr 2011 at 15:07 UTC
Updated:
4 Jan 2014 at 00:53 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
barbi commentedDrupal newbie here.
Can you please let me know where in the form tree does the #attached go?
I am trying to add it to the $form['blocks']. Is this right?
Comment #2
DjebbZ commentedNot sure. I would rather write
Basically just removing the "blocks" entry, because it needs to be attached to the whole form. Read the Form API reference on api.drupal.org.
You should try to provide a patch for this.
Comment #3
davisbenHere's a patch.
Comment #4
lambic commentedLooks good to me.
Comment #5
dries commentedCommitted to 8.x. This is a candidate for backporting to 7.x. I'm moving this to webchick's queue so she can consider committing this to 7.x.
Comment #6
robloachComment #7
robloachComment #9
robloach#6: use-attached-for-css-1122584-4.patch queued for re-testing.
Comment #10
lambic commentedComment #11
webchickThis doesn't look like it'll change anything as far as what CSS is shown on the page; merely how it's added.
Committed and pushed to 7.x. Thanks!