Tabledrag breaks component UI for projects with tons of components
dww - August 20, 2009 - 17:32
| Project: | Project issue tracking |
| Version: | 6.x-1.x-dev |
| Component: | User interface |
| Category: | bug report |
| Priority: | normal |
| Assigned: | dww |
| Status: | closed |
Description
I noticed that the ordering of the Drupal core components was all fubar. I tried to fix it, but after making a few changes and trying to save, the order was still somewhat scrambled. Then I realized that the underlying weight field only has a delta of 15 options, and core has quite a few more components than that. ;)
I just changed it on d.o to use a delta of 50 and now it's working. I'll officially commit and deploy this in a bit. Just wanted to open an issue about it.

#1
Here's an even better patch -- instead of hard-coding a large number, we just dynamically set the delta based on how many components the project has, or 20, whatever is bigger.
#2
seems like a nice future-proof solution.
#3
Committed to HEAD. Thanks for the review. It'd be nice to roll this out officially on d.o... maybe once there are a few other project_issue bugs fixed.
#4
Synced code to SVN and deployed revision 1660 on d.o.
#5
Automatically closed -- issue fixed for 2 weeks with no activity.