Closed (fixed)
Project:
ImageField
Version:
6.x-3.9
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
18 Dec 2010 at 22:27 UTC
Updated:
28 Apr 2011 at 01:07 UTC
Hello,
I am using the image field module, and on my form, the image fields will load fine. They will all have be moveable as well (similar to taxonomy). However, when I place my image fields in a collapsible group, in addition to have the moveablity, they also have another column added to it that says 'Order'. How do I hide this?
Thanks
Comments
Comment #1
mb2449 commentedWork around:
drupal_set_html_head('
window.onload = function() { Drupal.toggleFieldset(\'fieldset.group-image\'); }');
**'group-image' being the name of the fieldset
Now I can load my fieldset so that it is automatically collapsed, and I dont have those unsightly order select boxes.
Comment #2
quicksketchI think this is a bug in earlier versions of Drupal core (in tabledrag.js), you might try upgrading to the latest version of Drupal core and see if that corrects the problem. The "order" column is actually always there, JavaScript just hides it from view and replaces it with the draggable handle.
Comment #3
quicksketch