[Mapbender-commits] r3912 - branches/2.6/http/javascripts trunk/mapbender/http/javascripts

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Tue Apr 28 08:16:40 EDT 2009


Author: christoph
Date: 2009-04-28 08:16:40 -0400 (Tue, 28 Apr 2009)
New Revision: 3912

Modified:
   branches/2.6/http/javascripts/mod_sandclock.php
   trunk/mapbender/http/javascripts/mod_sandclock.php
Log:
http://trac.osgeo.org/mapbender/ticket/457

Modified: branches/2.6/http/javascripts/mod_sandclock.php
===================================================================
--- branches/2.6/http/javascripts/mod_sandclock.php	2009-04-28 12:13:59 UTC (rev 3911)
+++ branches/2.6/http/javascripts/mod_sandclock.php	2009-04-28 12:16:40 UTC (rev 3912)
@@ -85,6 +85,7 @@
 	}
 }
 
-function mod_sandclock_off(mapObj) {
+function mod_sandclock_off() {
+	var mapObj = getMapObjByName(mod_sandclock_target);
 	writeTag(mapObj.frameName, mapObj.elementName+"_sandclock", "");
-}
\ No newline at end of file
+}

Modified: trunk/mapbender/http/javascripts/mod_sandclock.php
===================================================================
--- trunk/mapbender/http/javascripts/mod_sandclock.php	2009-04-28 12:13:59 UTC (rev 3911)
+++ trunk/mapbender/http/javascripts/mod_sandclock.php	2009-04-28 12:16:40 UTC (rev 3912)
@@ -85,6 +85,7 @@
 	}
 }
 
-function mod_sandclock_off(mapObj) {
+function mod_sandclock_off() {
+	var mapObj = getMapObjByName(mod_sandclock_target);
 	writeTag(mapObj.frameName, mapObj.elementName+"_sandclock", "");
-}
\ No newline at end of file
+}



More information about the Mapbender_commits mailing list