[Mapbender-commits] r2561 - trunk/mapbender/http/javascripts
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Mon Jun 30 08:14:51 EDT 2008
Author: sven
Date: 2008-06-30 08:14:51 -0400 (Mon, 30 Jun 2008)
New Revision: 2561
Modified:
trunk/mapbender/http/javascripts/mod_pan.php
Log:
http://trac.osgeo.org/mapbender/ticket/247
Modified: trunk/mapbender/http/javascripts/mod_pan.php
===================================================================
--- trunk/mapbender/http/javascripts/mod_pan.php 2008-06-27 12:34:27 UTC (rev 2560)
+++ trunk/mapbender/http/javascripts/mod_pan.php 2008-06-30 12:14:51 UTC (rev 2561)
@@ -43,12 +43,18 @@
mb_button[ind].stop = new Function ("mod_pan_disable()");
}
function mod_pan_click(){
+ var p = window.frames[mod_pan_target].document.getElementById("maps");
+ p.style.cursor = "pointer";
+
var el = window.frames[mod_pan_target].document;
el.onmousedown = mod_pan_start;
el.onmouseup = mod_pan_stop;
el.onmousemove = mod_pan_run;
}
function mod_pan_disable(){
+ var p = window.frames[mod_pan_target].document.getElementById("maps");
+ p.style.cursor = "";
+
var el = window.frames[mod_pan_target].document;
el.onmousedown = null;
el.onmouseup = null;
More information about the Mapbender_commits
mailing list