Modifiche per il documento Homeopaths

Ultima modifica di Jip-jan Alunkel il marzo 14, 20:13

Dalla versione 10.53
modificato da Jip-jan Alunkel
il marzo 14, 19:57
Cambia il commento: Renamed from xwiki:practices.WebHome
Alla versione 10.56
modificato da Jip-jan Alunkel
il marzo 14, 20:00
Cambia il commento: Renamed from xwiki:practices.WebHome

Summary

Details

XWiki.JavaScriptExtension[0]
Codice
... ... @@ -26,18 +26,6 @@
26 26   #end
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 -#*
30 - #set($addressArray = $result_obj.getProperty("address").value.split(","))
31 - #set($address = "")
32 - #foreach($address_item in $addressArray)
33 - #if($foreach.hasNext)
34 - #set($linebreak = "<br />")
35 - #else
36 - #set($linebreak = "")
37 - #end
38 - #set($address = "${address}${address_item.trim()}${linebreak}")
39 - #end
40 -*#
41 41   #set($info = "<h4><a href='$xwiki.getURL($result_doc.documentReference)'>${stringtool.capitalize($result_doc.getDisplayTitle())}</a></h4><address>${address}</address>")
42 42   #set($discard = $map.put($info, $result_obj.getProperty("latlong").value))
43 43   #end
... ... @@ -46,6 +46,7 @@
46 46   #else
47 47   #set($mapJSON = $jsontool.serialize(${map}))
48 48   #end
37 +console.log("$mapJSON");
49 49  
50 50   var mapJSON = $jsontool.parse($mapJSON),
51 51   markers = [];