navigation  interaction  search

 other resources

Ticket #134 (defect)

Opened 2 years ago

Last modified 2 years ago

Estimate Shipping - Possible Cross Browser Compatibility Issue?

Status: closed (fixed)

Reported by: Rick Assigned to: brieb
Priority: minor Milestone: 0.8
Component: phpbms Version: 0.7
Keywords: Cc:

I havent been able to get the "estimate shipping" function to work on the orders screen.

When I select "UPS 2nd Day Air" and click the "Estimate Shipping" button, the Estimate Shipping dialogue is displayed. I click the Estimate button, and get the "Starting Script" message in the message area, but then nothing more.

I get the following javascript error in the browser:

Line: 346 Char: 9 Error: 'childNode....childNodes.1.innerHTML' is null or not an object Code:0 URL: localhost:8080/phpbms/modules/bms/invoices_addedit.php?id=1000

However, in \modules\bms\javascript\invoice.jsp, in function performShippingEstimate:

change:

lipair=therow.childNodes[j].childNodes[1].innerHTML;

to

lipair=therow.childNodes[j].childNodes[0].innerHTML;

and the estimate appeared to work.

mipalmer commented "It looks more like a cross browser compatability issue. Some browsers see whitespace as nodes while others skip it. Basically we probably need to flush this out to specifically iterate/search for the childNode we are trying to get ahold of rather than rely on an index."

Attachments

Change History

07/02/07 15:50:55: Modified by brieb

  • status changed from new to closed.
  • resolution set to fixed.
  • milestone changed from unknown to 0.8.

Fixed by #249

07/02/07 15:52:07: Modified by brieb

Oops.. I meant fixed by [249]


Add/Change #134 (Estimate Shipping - Possible Cross Browser Compatibility Issue?)




Change Properties
Action

 
Copyright © 2006-2007 Kreotek, LLC. All Rights reserved.