2 replies [Last post]
Hop-Frog's picture
Offline
Joined: 10/10/2008
Juice: 19
Was this information Helpful?

Version: 6.x-2.x-dev 2008-Oct-16
The errors are these:
1. in ccc nothing doesn't appear
2. in Method of Payment--Javascript must be enabled to view order total preview

The errors exist Only in IE (with any of the themes Drupal therefore also with.css studied for IE) while all function well in Firefox.
I hope to have been the most precise possible and above all to make me understand seen mine bad English. Thanks

Hop-Frog's picture
Offline
Joined: 10/10/2008
Juice: 19
Re: Javascript error

excuse me but ccc is "Calculate Shipping Cost"

hinrichsislcocom's picture
Offline
Bug Finder
Joined: 05/28/2008
Juice: 92
Javascript errors in IE FIX

Tried using js optimization and it still did not work in IE (new errors, such as undefined jquery object).
Fix: Remove comma at end of last element in uc_payment.js ine 19. Yes, one comma creates this entire cascade of errors.

Index: acquia-drupal/sites/all/modules/ubercart/payment/uc_payment/uc_payment.js
===================================================================
RCS file: /data/cvsroot/skillscan2/acquia-drupal/sites/all/modules/ubercart/payment/uc_payment/uc_payment.js,v
retrieving revision 1.2
diff -u -r1.2 uc_payment.js
--- acquia-drupal/sites/all/modules/ubercart/payment/uc_payment/uc_payment.js 29 Oct 2008 18:42:06 -0000 1.2
+++ acquia-drupal/sites/all/modules/ubercart/payment/uc_payment/uc_payment.js 31 Oct 2008 18:47:57 -0000
@@ -16,7 +16,7 @@
jQuery.extend(Drupal.settings, {
ucShowProgressBar: false,
ucDefaultPayment: '',
- ucOrderInitiate: false,
+ ucOrderInitiate: false
});

$(document).ready(

Bob Hinrichs
ISL Consulting
http://www.islco.com