error in ahah_forms.js with jquery_update 2

muka - August 27, 2008 - 18:58
Project:AHAH Forms Framework
Version:5.x-1.5-5
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

A small correction that make works the ahah js request (in drupal 5.10) for me

around line 42
// push the name/value of the activated element into the params
substitute
params.push( {name: $(element_id).name(), value: $(element_id).val()} );
with
params.push( {name: $(element_id).attr("name"), value: $(element_id).val()} );

because $(element_id).name() give error because is not a function.

bye lu

#1

starbow - July 21, 2009 - 21:32
Status:needs review» active
 
 

Drupal is a registered trademark of Dries Buytaert.