[Mapbender-commits] r2852 - branches/nimix_dev/http/javascripts

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Mon Aug 18 10:32:27 EDT 2008


Author: nimix
Date: 2008-08-18 10:32:27 -0400 (Mon, 18 Aug 2008)
New Revision: 2852

Modified:
   branches/nimix_dev/http/javascripts/mod_digitize_tab.php
Log:
merge

Modified: branches/nimix_dev/http/javascripts/mod_digitize_tab.php
===================================================================
--- branches/nimix_dev/http/javascripts/mod_digitize_tab.php	2008-08-18 14:31:43 UTC (rev 2851)
+++ branches/nimix_dev/http/javascripts/mod_digitize_tab.php	2008-08-18 14:32:27 UTC (rev 2852)
@@ -135,8 +135,13 @@
 	executeDigitizeSubFunctions();
 }
 
+function mb_registerGML(frameName,obj){
+	var ind = parent.getMapObjIndexByName(frameName);
+	parent.mb_mapObj[ind].geom = obj;
+}
+
 function mod_digitize_go(e){
-	parent.mb_registerGML(mod_digitize_target,d);   
+	mb_registerGML(mod_digitize_target,d);   
 
 	// ie workaround
 	if (e == undefined) {
@@ -411,7 +416,7 @@
 	parent.mb_registerInitFunctions("window.frames['"+ mod_digitize_elName + "'].checkDigitizeTag()");
 	parent.mb_registerInitFunctions("window.frames['"+ mod_digitize_elName + "'].initialiseSnapping()");
 	parent.mb_registerL10nFunctions("window.frames['"+ mod_digitize_elName + "'].getMessages()");
-	parent.mb_registerInitFunctions("window.frames['"+ mod_digitize_elName + "'].appendGeometryArrayFromKML()");
+//	parent.mb_registerInitFunctions("window.frames['"+ mod_digitize_elName + "'].appendGeometryArrayFromKML()");
 	if (!nonTransactionalEditable) {
 		parent.mb_registerInitFunctions("window.frames['"+ mod_digitize_elName + "'].initialiseHighlight()");
 	}
@@ -1523,4 +1528,4 @@
 		<table cellpadding='0' cellspacing='0' align = center><tr><td><div id='digButtons'></div></td></tr></table>
 		<div id = 'listOfGeometries'></div>
 	</body>
-</html>
\ No newline at end of file
+</html>



More information about the Mapbender_commits mailing list