Active
Project:
Reflect
Component:
Code
Priority:
Minor
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
1 Apr 2011 at 16:53 UTC
Updated:
5 Apr 2011 at 00:34 UTC
Some of the libraries are jquery & jqueryui. Drupal does have jquery and jquery ui already, are the versions compatible?
Seems a little redundant to load multiple jQuery files, though possibly necessary if the dependent js files require a certain version of jQuery.
Comments
Comment #1
tkriplean commentedThe main jquery library is not being loaded by the Reflect module, so that is not actually a problem here. The jquery.*.js files are jquery plugins that Reflect depends on. These plugins are compatible with at least jquery 1.3 and 1.4 and presumably 1.5.
jquery.ui is, however, being loaded by the Reflect module. The only jquery.ui file that Drupal includes is ui.core. However, there are many more ui files. The particular one that Reflect depends on is ui.dialog, which, for jquery 1.4, also depends on ui.widget and ui.position. See http://jqueryui.com/download.
I couldn't find an easy way, aside from installing another Drupal module like jquery ui (http://drupal.org/project/jquery_ui) for including ui.dialog, ui.widget, and ui.position. It seems a bit silly to require another drupal module just to get jquery.ui loaded.
Thoughts on moving forward?