Changes for page Homeopaths
Last modified by Jip-jan Alunkel on March 14, 20:13
From version 10.61
edited by Jip-jan Alunkel
on March 14, 20:02
on March 14, 20:02
Change comment:
Renamed from xwiki:practices.WebHome
To version 10.58
edited by Jip-jan Alunkel
on March 14, 20:01
on March 14, 20:01
Change comment:
Renamed from xwiki:practices.WebHome
Summary
-
Objects (1 modified, 0 added, 0 removed)
Details
- XWiki.JavaScriptExtension[0]
-
- Code
-
... ... @@ -27,7 +27,7 @@ 27 27 #end 28 28 #set($address = "$doc.getTitle()<br />$x['pmStreet'] $x['pmHousenumber']<br />$x['pmPostcode'] $x['pmCity']<br />$x['pmCounty'] $x['pmState']<br />$x['pmCountry']") 29 29 #set($info = "<h4><a href='$xwiki.getURL($result_doc.documentReference)'>${stringtool.capitalize($result_doc.getDisplayTitle())}</a></h4><address>${address}</address>") 30 - #set($discard = $map.put($info, $result_obj.getProperty(" pmLatlong").value))30 + #set($discard = $map.put($info, $result_obj.getProperty("latlong").value)) 31 31 #end 32 32 #if($objecttool.allNull($map)) 33 33 #set($mapJSON = {}) ... ... @@ -35,8 +35,6 @@ 35 35 #set($mapJSON = $jsontool.serialize(${map})) 36 36 #end 37 37 38 - console.log($mapJSON); 39 - 40 40 var mapJSON = $jsontool.parse($mapJSON), 41 41 markers = []; 42 42 for(const property in mapJSON) {