[Mapbender-commits] r2572 - branches/2.5/http/javascripts

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Tue Jul 1 08:03:15 EDT 2008


Author: verenadiewald
Date: 2008-07-01 08:03:15 -0400 (Tue, 01 Jul 2008)
New Revision: 2572

Modified:
   branches/2.5/http/javascripts/map.js
Log:
changed function mb_button_out

Modified: branches/2.5/http/javascripts/map.js
===================================================================
--- branches/2.5/http/javascripts/map.js	2008-07-01 10:18:52 UTC (rev 2571)
+++ branches/2.5/http/javascripts/map.js	2008-07-01 12:03:15 UTC (rev 2572)
@@ -1838,7 +1838,9 @@
    }
 }
 function mb_button_out(ind){
-   mb_button[ind].src = mb_button[ind].prev;
+   if(mb_button[ind].status === 0){
+   		mb_button[ind].src = mb_button[ind].img_off;
+   }
 }
 function mb_button_click(ind){
    var mbStatus = mb_button[ind].status;



More information about the Mapbender_commits mailing list