svn commit: r123 - trunk/mapbender/http/javascripts/mod_digitize_tab.php

christoph at osgeo.org christoph at osgeo.org
Fri Apr 21 11:46:40 EDT 2006


Author: christoph
Date: 2006-04-21 15:46:39+0000
New Revision: 123

Modified:
   trunk/mapbender/http/javascripts/mod_digitize_tab.php

Log:
minor bugfix

Modified: trunk/mapbender/http/javascripts/mod_digitize_tab.php
Url: https://mapbender.osgeo.org/source/browse/mapbender/trunk/mapbender/http/javascripts/mod_digitize_tab.php?view=diff&rev=123&p1=trunk/mapbender/http/javascripts/mod_digitize_tab.php&p2=trunk/mapbender/http/javascripts/mod_digitize_tab.php&r1=122&r2=123
==============================================================================
--- trunk/mapbender/http/javascripts/mod_digitize_tab.php	(original)
+++ trunk/mapbender/http/javascripts/mod_digitize_tab.php	2006-04-21 15:46:39+0000
@@ -715,9 +715,8 @@
 					else {
 						draw = false;
 					}
-
 				}
-				else if (pos0[1] > 0 && pos0[1] < mod_digitize_height) {
+				else if (pos0[1] >= 0 && pos0[1] <= mod_digitize_height) {
 					p[0] = pos0[0];
 					p[1] = pos0[1];
 				}
@@ -785,7 +784,7 @@
 							draw = false;
 						}
 					}
-					else if (pos1[1] > 0 && pos1[1] < mod_digitize_height) {
+					else if (pos1[1] >= 0 && pos1[1] <= mod_digitize_height) {
 						q[0] = pos1[0];
 						q[1] = pos1[1];
 					}
@@ -811,14 +810,11 @@
 							draw = false;
 						}
 					}
-
 				} 
 			}
 			else {
 				draw = false;
 			}
-
-
 		}
 		// the line is vertical
 		else {
@@ -1601,7 +1597,7 @@
 	var str = '<wfs:Transaction version="1.0.0" service="WFS" ';
 	
 	for (var q = 0 ; q < myconf['namespaces'].length ; q++) {
-		alert('xmlns:' + myconf['namespaces'][q]['name'] + '="' + myconf['namespaces'][q]['location'] + '" ');	
+		//alert('xmlns:' + myconf['namespaces'][q]['name'] + '="' + myconf['namespaces'][q]['location'] + '" ');	
 		str += 'xmlns:' + myconf['namespaces'][q]['name'] + '="' + myconf['namespaces'][q]['location'] + '" ';
 	}
 	




More information about the Mapbender_commits mailing list