donate page incorrectly calculates subtotal

jackinloadup - May 26, 2009 - 20:23
Project:Ubercart Donation Products
Version:6.x-2.0-beta2
Component:Code
Category:bug report
Priority:normal
Assigned:jackinloadup
Status:closed
Description

donate page incorrectly calculates subtotal at bottom of the page via javascript.
after typing in 5.00 into a text field then deselecting the input. the number will get replaced with 500.
$70.89 => $7089
you get the point :-)

Im surprised i am the only one who has reported this issue.

The problem was in the preg replace. Please review the patch.

AttachmentSize
uc_donation.patch730 bytes

#1

greenSkin - June 8, 2009 - 15:16
Status:needs review» fixed

Reviewed and committed.

#2

System Message - June 22, 2009 - 15:20
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.