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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Fri Jul 10 11:36:20 EDT 2009


Author: christoph
Date: 2009-07-10 11:36:19 -0400 (Fri, 10 Jul 2009)
New Revision: 4340

Modified:
   trunk/mapbender/lib/button.js
Log:


Modified: trunk/mapbender/lib/button.js
===================================================================
--- trunk/mapbender/lib/button.js	2009-07-10 15:32:42 UTC (rev 4339)
+++ trunk/mapbender/lib/button.js	2009-07-10 15:36:19 UTC (rev 4340)
@@ -122,6 +122,15 @@
       }
    }
 }
+
+function mb_enableButton (elName) {
+	for (var i = 0; i < mb_button.length; i++) {
+		if (mb_button[i].elName === elName && mb_button[i].status == 0) {
+			mb_button_click(i);
+			return;
+		}
+	}
+}
 function mb_disableButton(elName){
    for(var i=0; i<mb_button.length; i++){
       if(mb_button[i].elName != elName && mb_button[i].status == 1){



More information about the Mapbender_commits mailing list