Closed (fixed)
Project:
Tasklist Advanced
Version:
master
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Reporter:
Created:
21 Sep 2006 at 20:37 UTC
Updated:
27 Nov 2006 at 17:30 UTC
tasks.module, lines 411-412:
411: $form['#attributes'] = array('id'=>'tasks-filter');
412: $output .= drupal_get_form('task_filter',$form);
causes the output
to have two id's assigned:
if at least they were the same! ;)
Commenting out 411 solves the problem.
tasks_advanced seems to have copy and pasted this code from tasks and has the same issue. (and thus if you have it installed as well, is where you need to comment it out as it supercedes tasks.module's functions in this case.)
Comments
Comment #1
moonray commentedThe answer is not only to remove line 411, but to change line 412 to:
$output .= drupal_get_form('tasks-filter', $form);Fixed in CVS.
Comment #2
moonray commentedOops. This is the real change (notice underscore instead of hyphen)
The answer is not only to remove line 411, but to change line 412 to:
$output .= drupal_get_form('tasks_filter', $form);Fixed in CVS.
Comment #3
(not verified) commented