[Mapbender-commits] r2964 - branches/nimix_dev/http/extensions

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Wed Sep 17 10:56:01 EDT 2008


Author: nimix
Date: 2008-09-17 10:56:01 -0400 (Wed, 17 Sep 2008)
New Revision: 2964

Modified:
   branches/nimix_dev/http/extensions/wz_jsgraphics.js
Log:
fix for safari and google chrome

Modified: branches/nimix_dev/http/extensions/wz_jsgraphics.js
===================================================================
--- branches/nimix_dev/http/extensions/wz_jsgraphics.js	2008-09-17 14:55:17 UTC (rev 2963)
+++ branches/nimix_dev/http/extensions/wz_jsgraphics.js	2008-09-17 14:56:01 UTC (rev 2964)
@@ -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