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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Tue Jul 22 03:31:57 EDT 2008


Author: christoph
Date: 2008-07-22 03:31:57 -0400 (Tue, 22 Jul 2008)
New Revision: 2687

Modified:
   branches/2.5/http/javascripts/mod_box1.js
Log:
missing ;

Modified: branches/2.5/http/javascripts/mod_box1.js
===================================================================
--- branches/2.5/http/javascripts/mod_box1.js	2008-07-22 07:31:20 UTC (rev 2686)
+++ branches/2.5/http/javascripts/mod_box1.js	2008-07-22 07:31:57 UTC (rev 2687)
@@ -13,13 +13,13 @@
 	mb_isActive = true;
 	mb_getMousePos(e,mb_isBF);
 	mb_start_x = clickX;
-	mb_start_y = clickY
+	mb_start_y = clickY;
 	mb_end_x = mb_start_x+1;
 	mb_end_y = mb_start_y+1;
 	mb_offset_left = mb_start_x;
 	mb_offset_top = mb_start_y;
 	mb_offset_bottom = mb_start_y;
-	mb_offset_right = mb_start_x
+	mb_offset_right = mb_start_x;
 	mb_drawBox(mb_start_x,mb_start_y,mb_end_x,mb_end_y);
 	return false;
 }
@@ -117,7 +117,7 @@
 		var maxy = y2;
 	}
    // area or clickpoint ?
-	var ret = new Array();
+	var ret = [];
 	if((maxx - minx) > 3 && (miny - maxy) > 3){
 		var posMin = makeClickPos2RealWorldPos(mb_isBF,minx,miny);
 		var posMax = makeClickPos2RealWorldPos(mb_isBF,maxx,maxy);
@@ -135,4 +135,4 @@
 		return ret;      
 		//zoom(mb_zF,true,1.0,pos[0], pos[1]);
 	}
-}
\ No newline at end of file
+}



More information about the Mapbender_commits mailing list