Bug and a fix for labels in ProductCustomFields

Started by dblaze, December 12, 2013, 08:42:36 AM

Previous topic - Next topic

dblaze

The problem is that all labels (in my case "ProductCustomsFieldCart" custom field type "image") have the same "for" attribute value, so clicking on any of the images selects first input (radio button)
File "/administrator/components/com_virtuemart/models/customfields.php" @ line 964

OLD CODE
for="' . $productCustom->virtuemart_custom_id .$row. '"

NEW CODE
for="' . $productCustom->virtuemart_customfield_id .$row. '"

2b || !2b; this.question();
http://www.dblaze.eu