Bug : card cannot use a attribute of the type "card", reason : the query was
wrong and there were a confusion between this->name and this->id in "get_js_attr()"
This commit is contained in:
parent
2b75c9720a
commit
27f5673f2d
3 changed files with 4 additions and 3 deletions
|
|
@ -139,7 +139,7 @@ class HtmlInput
|
|||
for ($i=0; $i<count($this->attribute); $i++)
|
||||
{
|
||||
list($name, $value)=$this->attribute[$i];
|
||||
$tmp1=sprintf("$('%s').%s='%s';", $this->name, $name, $value);
|
||||
$tmp1=sprintf("$('%s').%s='%s';", $this->id, $name, $value);
|
||||
$attr.=$tmp1;
|
||||
}
|
||||
$attr=create_script($attr);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue