Closed (duplicate)
Project:
Drupal core
Version:
7.12
Component:
javascript
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
19 Apr 2011 at 05:11 UTC
Updated:
17 Jun 2015 at 18:07 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
droplet commentedtried Dev version ? and what browser are you using
Comment #2
Podcast commentedI have the same issue I have tested this on google chrome 11.0.696.60 and Explorer 9.0.8112.16421
It highlights the bar in yellow and if I click a new bar it will also highlight that bar.
If more information is needed please let me know.
Comment #3
Podcast commentedIt seems the server blocks me from access any sites on that server for a few minutes. I have asked my hosting company to check and they have white listed my IP on there firewall but the issue is still occurring
Comment #4
Podcast commentedFigured it out mod_sec needs to be disabled and this will fix the issue!
Comment #5
jimbaer commentedI'm having identical problem, drag and drop broken when in overlay. All that happens is that the selected item goes yellow and stays yellow. Nothing drags. Firefox and IE8. D 7.4, just updated. Didn''t know enough to realise this was a javascript issue. No errors are logged in Drupal reports.
mod_sec is outside my comfort zone . . .
Comment #6
droplet commentedso you can select the items but can't draging ??
do you have firebug ? or chrome console log ? can you check if there any JS error
Comment #7
jimbaer commentedThanks droplet. High speed learning curve on firebug, and yes; firebug comes up with:
"$.cookie is not a function" for two instances:
tabledrag.js, line 167;
toolbar.js, line 29;
Example for tabledrag:
// Now hide cells and reduce colspans unless cookie indicates previous choice.
// Set a cookie if it is not already present.
if ($.cookie('Drupal.tableDrag.showWeight') === null) {
$.cookie('Drupal.tableDrag.showWeight', 0, {
path: Drupal.settings.basePath,
// The cookie expires in one year.
expires: 365
toolbar.js arises when handling menus, but I can't see the effect yet, except that setting menus up seems very cumbersome!
I'm profoundly ignorant of js. How and where do all these functions get defined? and why isn't a cookie function defined? Is this a corrupted file? Or a bug? or an occasional bug due to some coincidence of installation? Looks like some others have hit the same problem.
Meanwhile, many thanks for introducing me to firebug!
JimB
Comment #8
damien tournoud commentedSee #522646: jquery.cookie.js incompatible with Apache mod_security by default. Some old versions of mod security are broken and incorrectly block a Javascript file of Drupal 7. Either enable Javascript aggregation or ask your host to update (or preferably disable) mod security.
Comment #9
simg commentedI've also had this same problem but found the cause to the Lightbox2 module
http://drupal.org/node/1283694
Comment #10
Toddv commentedI had this happening with a major upgrade from D6.24 - D7.12 and FOUND THE SOLUTION TO BE a problem with the permissions on my files directory. In admin/config/development/performance, with css and js aggregation on, the aggregated css and js files are written to css and js directories within the files directory (in my case). Disabling caching of js and css fixed the problem and pointed to the real solution which was to correct the permissions of the directories where the aggregated files are written. Hope that helps someone.
Comment #11
raffon commentedThanks guys for this topic, it really helped me !
once you're used to this helpfull drag n drop... ;-)
Comment #12
TravisJohnston commentedHey just a quick solution even though this is old. I was using the drag feature for ordering and then it was gone suddenly and I couldn't figure out why.... That is until I clicked "Hide Row Weights".... And then my drags were back!
Comment #13
Anonymous (not verified) commented@ #12 thanks TravisJohnston that saved my day.
Comment #14
glass.dimly commentedMust have clicked it by accident. Anyways, here's the screenshot of the master hide/show weights that appears on every table.
To clarify: on every table that should be draggable, like at /admin/structure/block, there is this toggle.
Comment #15
nicktr commentedThank you so much for this!!! Was going mad over not being able to figure this one out. One click and fixed!