Closed (fixed)
Project:
DraggableViews
Version:
6.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 May 2009 at 07:43 UTC
Updated:
19 Aug 2009 at 15:03 UTC
I'm experiencing a conflict when a hierarchical select element is placed inside a draggable view. The HS element claims 'javascript is not enabled', and the draggable view breaks. I was wondering if anyone else has had this problem, and if there's any way around it. Thanks!
Comments
Comment #1
wim leersHm, this seems impossible. HS uses Drupal.behaviors, as every JS-enabled module should. So it seems DraggableViews is causing havoc by doing something wrong then: i.e. it may not be calling Drupal.attachBehaviors() after it has loaded content dynamically. That, or it is not passing through the Drupal.settings that are set for HS into the actual page, which would cause its settings not to be found, and therefor the HS JS would not find the dynamically loaded HS.
Moving to the DraggableViews issue queue to get feedback from the DraggableViews maintainer.
Comment #2
sevi commentedI haven't used
Drupal.behaviorsbut$(document).ready(..)Now I use the
Drupal.behaviorsproperty. (http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/draggablevi...)Try the current dev-version (The http link for the dev-snapshot is only generated a few times a day).
Comment #3
blup commentedI modified the .js file and it still doesn't work for me. I keep getting the "You don't have Javascript enabled. Hover for more info..." for the hierarchical select and the elements are not draggable (it gets stuck). I was really hoping this was the fix. Thanks for the help.
Comment #4
sevi commentedComment #5
sevi commentedComment #6
sevi commentedHow can I place a hierarchical select element in a view?
Comment #7
criz@sevi
there is a submodule for enhancing taxonomy views filter forms...
Comment #8
sevi commentedOh, the exposed filters. I haven't looked there O_o.
I've tried using HS as an exposed filter inside a DraggableView and I couldn't discover any problems.
However, as DraggableViews doesn't support exposed filters anyway I'll close this issue. (#326082: Exposed filters usage breaks parents/ordering)