Fixed broken javascript due to names with apostrophes in them.
authorChuck Scott <cscott@gaslightmedia.com>
Thu, 21 May 2015 15:28:27 +0000 (11:28 -0400)
committerChuck Scott <cscott@gaslightmedia.com>
Thu, 21 May 2015 15:28:27 +0000 (11:28 -0400)
views/front/members/detail.html
views/front/members/list.html

index 7dc072e..f72585a 100644 (file)
                     position: new google.maps.LatLng({$member.lat}, {$member.lon}),
                     draggable: false,
                     animation: google.maps.Animation.DROP,  
-                    title: '{$member.member}'
+                    title: '{$member.member|escape}'
                 });
                 
                 // Try HTML5 to get user geolocation
index 57c3d5c..e693891 100644 (file)
                 position: new google.maps.LatLng({$m.lat}, {$m.lon}),
                 draggable: false,
                 animation: google.maps.Animation.DROP,  
-                title: '{$m.member}',
+                title: '{$m.member|escape}',
                 descr: $('#map_info_' + {$m.id}).html(),
                 memberID: {$m.id}
             });