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

moonray’s picture

Assigned: Unassigned » moonray
Status: Active » Fixed

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.

moonray’s picture

Oops. 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.

Anonymous’s picture

Status: Fixed » Closed (fixed)