[Mapbender-commits] r2962 - trunk/mapbender/http/extensions

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Wed Sep 17 10:54:44 EDT 2008


Author: nimix
Date: 2008-09-17 10:54:44 -0400 (Wed, 17 Sep 2008)
New Revision: 2962

Modified:
   trunk/mapbender/http/extensions/wz_jsgraphics.js
Log:
fix for safari and google chrome

Modified: trunk/mapbender/http/extensions/wz_jsgraphics.js
===================================================================
--- trunk/mapbender/http/extensions/wz_jsgraphics.js	2008-09-17 14:18:00 UTC (rev 2961)
+++ trunk/mapbender/http/extensions/wz_jsgraphics.js	2008-09-17 14:54:44 UTC (rev 2962)
@@ -70,7 +70,7 @@
 
 function pntCnvDom()
 {
-        var x = document.createRange();
+        var x = this.wnd.document.createRange();
         x.setStartBefore(this.cnv);
         x = x.createContextualFragment(jg_fast? this.htmRpc() : this.htm);
         this.cnv.appendChild(x);



More information about the Mapbender_commits mailing list