GCTour / gctour_orig

Automatically exported from code.google.com/p/gctour
1 stars 1 forks source link

TypeError: element.innerHTML.split(...)[1] is undefined #51

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Normal List with Caches in box
2. Send To GPS Device (eg. Garmin)
3.

What is the expected output? What do you see instead?
GC466T0:TypeError: element.innerHTML.split(...)[1] is undefined

What version of the product are you using? On what operating system?
Mac OS with newest Firefox (GCTour Version 2.3.13241)

Please provide any additional information below.
It doesnt work!

Original issue reported on code.google.com by webmas...@drego.de on 18 Sep 2013 at 1:09

GoogleCodeExporter commented 8 years ago

ein Patch zum selber einbauen:

version 2.3.13241

Zeile 7666:
  var userDefinedCoordsString = element.innerHTML.split("var userDefinedCoords = {")[1].split("};")[0];

 austauschen mit den Zeilen:
  // var userDefinedCoordsString = element.innerHTML.split("var userDefinedCoords = {")[1].split("};")[0];
  var userDefinedCoordsString = element.innerHTML.split("var userDefinedCoords = {") || "";
  userDefinedCoordsString = userDefinedCoordsString[1] || "";
  userDefinedCoordsString = userDefinedCoordsString.split("};") || "";
  userDefinedCoordsString = userDefinedCoordsString[0] || "";

eingecheckt in
http://code.google.com/p/gctour/source/detail?r=2c3cd78f9d81899a6012bfca9f38f876
58284f5c

Original comment by gctour.d...@gmail.com on 19 Sep 2013 at 9:45

GoogleCodeExporter commented 8 years ago
gefixt,
in der neuen aktuellen release 2.3.13263
enthalten :-)

Original comment by gctour.d...@gmail.com on 20 Sep 2013 at 7:57