Closed (won't fix)
Project:
Taxonomy Autotagger
Version:
5.x-1.11
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Oct 2008 at 13:34 UTC
Updated:
15 Dec 2008 at 17:23 UTC
Hello,
I've installed autotag together with the required modules jquery_ui and jquery_update.
In the node editing page, in #autotag-container DIV no D&D is enabled. It seemed like autotag did not actually use jquery modules.
Javascript console both in Safari and Firefox on Macosx reported error in the first line of autotag-jquery.js
"$.('.autotag-dragable').draggable is not an object"
I discovered that in autotag.module there were no jquery calls. I added
function autotag_form_alter($form_id, &$form){
// fgiacane 20081021 - manca chiamata jquery
jquery_ui_add(array('ui.draggable', 'ui.droppable'));
//
[...]
}
Now everything works fine.
Comments
Comment #1
fumbling commentedOn what line of the code should I insert that function? Thanks.
Comment #2
fgiacanelli commentedAt line 92, just below autotag_form_alter function declaration:
function autotag_form_alter($form_id, &$form)
Comment #3
fumbling commentedThanks, I inserted it now. Autotagger still isn't working for me, but I don't think it's related to this thread's issue anymore. I posted here (http://drupal.org/node/337128) regarding my attempt to get it working as a whole with no luck. If you have a minute, please let me know if you see anything in my attempt that I missed. Thanks again.
Comment #4
sdrycroft commentedApologies, but I'm marking this as "won't fix". We're currently pushing all our modules up to D6, and won't be fixing any D5 bugs (unless major). D5 is no longer a supported release.