[Mapbender-commits] r2573 - trunk/mapbender/lib

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Tue Jul 1 08:22:35 EDT 2008


Author: verenadiewald
Date: 2008-07-01 08:22:35 -0400 (Tue, 01 Jul 2008)
New Revision: 2573

Modified:
   trunk/mapbender/lib/button.js
Log:
changed function mb_button_out

Modified: trunk/mapbender/lib/button.js
===================================================================
--- trunk/mapbender/lib/button.js	2008-07-01 12:03:15 UTC (rev 2572)
+++ trunk/mapbender/lib/button.js	2008-07-01 12:22:35 UTC (rev 2573)
@@ -57,7 +57,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