netbrain | 2 Apr 15:28 2012
Picon

SVN: [114652] trunk/extensions/Maps/includes/services/OpenLayers/jquery. openlayers.js

https://www.mediawiki.org/wiki/Special:Code/MediaWiki/114652

Revision: 114652
Author:   netbrain
Date:     2012-04-02 13:28:13 +0000 (Mon, 02 Apr 2012)
Log Message:
-----------
fixed openlayers js for image layer capability.
and did some minor js optimizations

Modified Paths:
--------------
    trunk/extensions/Maps/includes/services/OpenLayers/jquery.openlayers.js

Modified: trunk/extensions/Maps/includes/services/OpenLayers/jquery.openlayers.js
===================================================================
--- trunk/extensions/Maps/includes/services/OpenLayers/jquery.openlayers.js	2012-04-02
12:09:40 UTC (rev 114651)
+++ trunk/extensions/Maps/includes/services/OpenLayers/jquery.openlayers.js	2012-04-02
13:28:13 UTC (rev 114652)
 <at>  <at>  -92,7 +92,7  <at>  <at> 
 				control = getValidControlName( controls[i] );
 				
 				if ( control ) {
-					eval(' map.addControl( new OpenLayers.Control.' + control + '() ); ');
+                    map.addControl(eval('new OpenLayers.Control.' + control + '() '));
 				}
 			}
 			else {
 <at>  <at>  -178,21 +178,22  <at>  <at> 
(Continue reading)


Gmane