Using 8.5.1.0.0.0.HIZA. Probably broken in 8.5.2.
Problem:
If the product reference contains certain characters (e.g. space . -) then the push button grid is generated but fails with JavaScript errors.
Reason:
There are 2 faults:
1) Code within layout Push Button Grid is using an unquoted tag name. This breaks if the product reference contains spaces.
2) Code within actinic_main.php (which is in C:\Program Files\Actinic v8) is using the product reference in a way that spaces dots, etc may break it.
Fixes:
1) Edit layout Push Button Grid and replace
with
2) Edit actinic_main.php (which is in C:\Program Files\Actinic v8) and replace
with
Close and restart Actinic so that the changes to actinic_main.php come into effect.
Problem:
If the product reference contains certain characters (e.g. space . -) then the push button grid is generated but fails with JavaScript errors.
Reason:
There are 2 faults:
1) Code within layout Push Button Grid is using an unquoted tag name. This breaks if the product reference contains spaces.
2) Code within actinic_main.php (which is in C:\Program Files\Actinic v8) is using the product reference in a way that spaces dots, etc may break it.
Fixes:
1) Edit layout Push Button Grid and replace
Code:
echo "<input type='hidden' name=${listAttributeWidgets[$nBaseAttributeIdx + $nAttributeIdxOffset -1]} value=''>";
Code:
echo "<input type='hidden' name='${listAttributeWidgets[$nBaseAttributeIdx + $nAttributeIdxOffset -1]}' value=''>";
Code:
echo "this.form.{$listAttributeWidgets[$nBaseAttributeIdx + $i - 1]}.value='{$listChoiceIds[$nBaseAttributeIdx + $i -1][$listCellChoiceIndices[$i]][0]}';";
Code:
echo "var x=document.getElementsByName('{$listAttributeWidgets[$nBaseAttributeIdx + $i - 1]}');x[x.length - 1].value='{$listChoiceIds[$nBaseAttributeIdx + $i -1][$listCellChoiceIndices[$i]][0]}';";
Comment