[Mapbender-commits] r5432 - branches/2.6/http/javascripts trunk/mapbender/http/javascripts

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Tue Jan 26 05:59:47 EST 2010


Author: verenadiewald
Date: 2010-01-26 05:59:42 -0500 (Tue, 26 Jan 2010)
New Revision: 5432

Modified:
   branches/2.6/http/javascripts/mod_digitize_tab.php
   trunk/mapbender/http/javascripts/mod_digitize_tab.php
Log:
removed parent. in function drawDashedLine (mapframe is not anymore an iframe since version 2.6)

Modified: branches/2.6/http/javascripts/mod_digitize_tab.php
===================================================================
--- branches/2.6/http/javascripts/mod_digitize_tab.php	2010-01-25 17:01:08 UTC (rev 5431)
+++ branches/2.6/http/javascripts/mod_digitize_tab.php	2010-01-26 10:59:42 UTC (rev 5432)
@@ -1065,7 +1065,7 @@
 								smPArray[smPArray.length] = " title='"+msgObj.closePolygon_title+"' ";
 							}
 							if(isMoveOrInsertOrDelete) {
-								smPArray[smPArray.length] = " onmouseover='parent.window.frames[\""+mod_digitize_elName+"\"].handleBasepoint(this,"+i+","+j+","+k+")' ;";
+								smPArray[smPArray.length] = " onmouseover='window.frames[\""+mod_digitize_elName+"\"].handleBasepoint(this,"+i+","+j+","+k+")' ;";
 							}
 							smPArray[smPArray.length] = "></div>";
 							lastPaintedPoint = currentPointMap;
@@ -1112,7 +1112,7 @@
 									smPArray[smPArray.length] = " title='" + msgObj.closePolygon_title + "' ";
 								}
 								if (isMoveOrInsertOrDelete) {
-									smPArray[smPArray.length] = " onmouseover='parent.window.frames[\"" + mod_digitize_elName + "\"].handleBasepoint(this," + i + "," + j + "," + l + "," + m + ")' ;";
+									smPArray[smPArray.length] = " onmouseover='window.frames[\"" + mod_digitize_elName + "\"].handleBasepoint(this," + i + "," + j + "," + l + "," + m + ")' ;";
 								}
 								smPArray[smPArray.length] = "></div>";
 								lastPaintedPoint = currentPointMap;
@@ -1160,7 +1160,7 @@
 				strArray[strArray.length] = "<div class='lp' style='top:"+y+"px;left:"+x+"px;z-index:"+digitizeTransactionalZIndex+";' ";
 			}
 			if(mod_digitizeEvent == button_insert) {
-				strArray[strArray.length] = "onmouseover='parent.window.frames[\""+mod_digitize_elName+"\"].convertLinepointToBasepoint(this,"+memberIndex+","+geomIndex+","+ringIndex+","+pointIndex+")'";
+				strArray[strArray.length] = "onmouseover='window.frames[\""+mod_digitize_elName+"\"].convertLinepointToBasepoint(this,"+memberIndex+","+geomIndex+","+ringIndex+","+pointIndex+")'";
 			}
 			strArray[strArray.length] = "></div>";
 		}

Modified: trunk/mapbender/http/javascripts/mod_digitize_tab.php
===================================================================
--- trunk/mapbender/http/javascripts/mod_digitize_tab.php	2010-01-25 17:01:08 UTC (rev 5431)
+++ trunk/mapbender/http/javascripts/mod_digitize_tab.php	2010-01-26 10:59:42 UTC (rev 5432)
@@ -1372,7 +1372,7 @@
 								smPArray[smPArray.length] = " title='"+msgObj.closePolygon_title+"' ";
 							}
 							if(isMoveOrInsertOrDelete) {
-								smPArray[smPArray.length] = " onmouseover='parent.window.frames[\""+mod_digitize_elName+"\"].handleBasepoint(this,"+i+","+j+","+k+")' ;";
+								smPArray[smPArray.length] = " onmouseover='window.frames[\""+mod_digitize_elName+"\"].handleBasepoint(this,"+i+","+j+","+k+")' ;";
 							}
 							smPArray[smPArray.length] = "></div>";
 							lastPaintedPoint = currentPointMap;
@@ -1419,7 +1419,7 @@
 									smPArray[smPArray.length] = " title='" + msgObj.closePolygon_title + "' ";
 								}
 								if (isMoveOrInsertOrDelete) {
-									smPArray[smPArray.length] = " onmouseover='parent.window.frames[\"" + mod_digitize_elName + "\"].handleBasepoint(this," + i + "," + j + "," + l + "," + m + ")' ;";
+									smPArray[smPArray.length] = " onmouseover='window.frames[\"" + mod_digitize_elName + "\"].handleBasepoint(this," + i + "," + j + "," + l + "," + m + ")' ;";
 								}
 								smPArray[smPArray.length] = "></div>";
 								lastPaintedPoint = currentPointMap;
@@ -1467,7 +1467,7 @@
 				strArray[strArray.length] = "<div class='lp' style='top:"+y+"px;left:"+x+"px;z-index:"+digitizeTransactionalZIndex+";' ";
 			}
 			if(mod_digitizeEvent == button_insert) {
-				strArray[strArray.length] = "onmouseover='parent.window.frames[\""+mod_digitize_elName+"\"].convertLinepointToBasepoint(this,"+memberIndex+","+geomIndex+","+ringIndex+","+pointIndex+")'";
+				strArray[strArray.length] = "onmouseover='window.frames[\""+mod_digitize_elName+"\"].convertLinepointToBasepoint(this,"+memberIndex+","+geomIndex+","+ringIndex+","+pointIndex+")'";
 			}
 			strArray[strArray.length] = "></div>";
 		}



More information about the Mapbender_commits mailing list