[Commits] r2161 - core/trunk/geoext/lib/GeoExt/widgets
commits at geoext.org
commits at geoext.org
Thu May 6 09:16:42 CEST 2010
Author: fredj
Date: 2010-05-06 09:16:42 +0200 (Thu, 06 May 2010)
New Revision: 2161
Modified:
core/trunk/geoext/lib/GeoExt/widgets/Popup.js
Log:
remove centerLonLat and centerPx unused variables in panIntoView. r=ahocevar (closes #248)
Modified: core/trunk/geoext/lib/GeoExt/widgets/Popup.js
===================================================================
--- core/trunk/geoext/lib/GeoExt/widgets/Popup.js 2010-05-05 17:24:30 UTC (rev 2160)
+++ core/trunk/geoext/lib/GeoExt/widgets/Popup.js 2010-05-06 07:16:42 UTC (rev 2161)
@@ -260,8 +260,6 @@
* padding.
*/
panIntoView: function() {
- var centerLonLat = this.feature.geometry.getBounds().getCenterLonLat();
- var centerPx = this.map.getViewPortPxFromLonLat(centerLonLat);
var mapBox = Ext.fly(this.map.div).getBox();
//assumed viewport takes up whole body element of map panel
More information about the Commits
mailing list