[Mapbender-commits] r8140 - branches/2.7/http/plugins
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Mon Sep 12 08:21:41 EDT 2011
Author: kmq
Date: 2011-09-12 05:21:40 -0700 (Mon, 12 Sep 2011)
New Revision: 8140
Modified:
branches/2.7/http/plugins/mb_selectScale.js
Log:
IE fix
Modified: branches/2.7/http/plugins/mb_selectScale.js
===================================================================
--- branches/2.7/http/plugins/mb_selectScale.js 2011-09-12 11:27:59 UTC (rev 8139)
+++ branches/2.7/http/plugins/mb_selectScale.js 2011-09-12 12:21:40 UTC (rev 8140)
@@ -4,9 +4,9 @@
var that = this;
this.set = function (scale) {
- options.$target.mapbender(function () {
- this.repaintScale(null, null, scale);
- });
+ // IE call this with empty scale for some convoluted reason
+ if(!scale){ return; }
+ options.$target.mapbender().repaintScale(null,null,scale);
};
var init = function () {
More information about the Mapbender_commits
mailing list