reverting r10905, which included more changes than it should have
git-svn-id: http://svn.openlayers.org/trunk/openlayers@10906 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
+1
-1
@@ -21,7 +21,7 @@ allowedHosts = ['www.openlayers.org', 'openlayers.org',
|
|||||||
'sigma.openplans.org', 'demo.opengeo.org',
|
'sigma.openplans.org', 'demo.opengeo.org',
|
||||||
'www.openstreetmap.org', 'sample.azavea.com',
|
'www.openstreetmap.org', 'sample.azavea.com',
|
||||||
'v2.suite.opengeo.org', 'v-swe.uni-muenster.de:8080',
|
'v2.suite.opengeo.org', 'v-swe.uni-muenster.de:8080',
|
||||||
'vmap0.tiles.osgeo.org', 'openmaps.gov.bc.ca', 'localhost:80']
|
'vmap0.tiles.osgeo.org']
|
||||||
|
|
||||||
method = os.environ["REQUEST_METHOD"]
|
method = os.environ["REQUEST_METHOD"]
|
||||||
|
|
||||||
|
|||||||
@@ -186,10 +186,10 @@ OpenLayers.Popup.Anchored =
|
|||||||
var size = this.size || this.contentSize;
|
var size = this.size || this.contentSize;
|
||||||
|
|
||||||
var top = (this.relativePosition.charAt(0) == 't');
|
var top = (this.relativePosition.charAt(0) == 't');
|
||||||
newPx.y += (top) ? -size.h : this.anchor.size.h;
|
newPx.y += (top) ? -(size.h + this.anchor.size.h) : this.anchor.size.h;
|
||||||
|
|
||||||
var left = (this.relativePosition.charAt(1) == 'l');
|
var left = (this.relativePosition.charAt(1) == 'l');
|
||||||
newPx.x += (left) ? -size.w : this.anchor.size.w;
|
newPx.x += (left) ? -(size.w + this.anchor.size.w) : this.anchor.size.w;
|
||||||
|
|
||||||
return newPx;
|
return newPx;
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1633,12 +1633,10 @@ OpenLayers.Util.removeTail = function(url) {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Constant: IS_GECKO
|
* Constant: IS_GECKO
|
||||||
* {Boolean} True if the navigator.userAgent property reports the browser to
|
* {Boolean} True if the userAgent reports the browser to use the Gecko engine
|
||||||
* use the Gecko engine
|
|
||||||
*/
|
*/
|
||||||
OpenLayers.IS_GECKO = (function() {
|
OpenLayers.IS_GECKO = (function() {
|
||||||
var ua = navigator.userAgent.toLowerCase();
|
return navigator.userAgent.toLowerCase().indexOf("gecko") != -1;
|
||||||
return ua.indexOf("gecko") != -1 && ua.indexOf("webkit") == -1;
|
|
||||||
})();
|
})();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user