Posted by joachim on December 6, 2008 at 2:16pm
Jump to:
| Project: | CCK Node Reference ASM Select |
| Version: | 5.x-1.x-dev |
| Component: | User interface |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
(opening this as http://drupal.org/node/342635 is a bit cluttered)
I've set the widget to sortable, but the rows of the widget aren't reacting to being dragged.
My versions are:
jQuery 1.2.6 via jquery_update module
jQuery UI 1.5.3
Alternate Select Multiple (asmSelect) 1.0.2 beta
Comments
#1
See if you can run jQuery UI's sortable demos in the same Drupal installation you're using to test asmSelect.
Also, take a look at the page source and look for the js this module generates, see if sortable is set to true.
This is an asmSelect feature and should work out of the box.
#2
The JS in the page source head is:
$(document).ready(function() {$('#edit-field-noderef-audio-nids').asmSelect({
addItemTarget: 'bottom',
sortable: 1,
animate: 1,
highlight: 1,
removeLabel: 'Remove',
highlightAddedLabel: 'Added ',
highlightRemovedLabel: 'Removed '
});
});
#3
Look in your admin/logs/watchdog
I just had the case with a test installation that the jquery_ui package was missing ui.core.min.js, perhaps that is your problem as well.
#4
Yup, found that in the log.
But I've just downloaded the stable Jquery.ui from here http://ui.jquery.com/download again, and it's still missing that file!
What version do I need?
#5
It seems they goofed up in packaging that file. I simply copied the uncompressed version, that works as well.
#6
Yup, works now.
You might want to add a note to documentation page / project page until the next release of the jquery plugin is out...