r49309 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r49308‎ | r49309 | r49310 >
Date:10:33, 8 April 2009
Author:avar
Status:deferred
Tags:
Comment:
Oops, forgot to define a JS variable
Modified paths:
  • /trunk/extensions/SlippyMap/SlippyMap.class.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SlippyMap/SlippyMap.class.php
@@ -243,7 +243,7 @@
244244 map${unique}.addLayer(markers${unique});
245245 var size${unique} = new OpenLayers.Size(20,34);
246246 var offset${unique} = new OpenLayers.Pixel(-(size${unique}.w/2), -size${unique}.h);
247 -var icon${unique} = new OpenLayers.Icon('http://boston.openguides.org/markers/YELLOW.png', size${unique},offset);
 247+var icon${unique} = new OpenLayers.Icon('http://boston.openguides.org/markers/YELLOW.png', size${unique},offset${unique});
248248 markers${unique}.addMarker(new OpenLayers.Marker( lonLat${unique}, icon${unique} ));
249249 EOT;
250250 }

Status & tagging log