r76620 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r76619‎ | r76620 | r76621 >
Date:10:28, 13 November 2010
Author:jeroendedauw
Status:deferred
Tags:
Comment:
Fixed image path issue when including the OL lib via the RL
Modified paths:
  • /trunk/extensions/Maps/Maps_Settings.php (modified) (history)
  • /trunk/extensions/Maps/includes/services/OpenLayers/ext.maps.openlayers.js (modified) (history)

Diff [purge]

Index: trunk/extensions/Maps/Maps_Settings.php
@@ -412,7 +412,7 @@
413413
414414 if ( !$egMapsUseRL ) {
415415 $egMapsOLLayerDependencies['osm'] = "<script type='$wgJsMimeType' src='$egMapsScriptPath/includes/services/OpenLayers/OSM/OpenStreetMap.js?$egMapsStyleVersion'></script>";
416 - }
 416+ }
417417
418418
419419
Index: trunk/extensions/Maps/includes/services/OpenLayers/ext.maps.openlayers.js
@@ -9,6 +9,7 @@
1010
1111 $( document ).ready( function() {
1212
 13+ OpenLayers.ImgPath = 'extensions/Maps/includes/services/OpenLayers/OpenLayers/img/';
1314 OpenLayers.IMAGE_RELOAD_ATTEMPTS = 3;
1415 OpenLayers.Util.onImageLoadErrorColor = 'transparent';
1516 OpenLayers.Feature.prototype.popupClass = OpenLayers.Class(

Status & tagging log