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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Mon Nov 9 09:38:34 EST 2009


Author: verenadiewald
Date: 2009-11-09 09:38:34 -0500 (Mon, 09 Nov 2009)
New Revision: 4967

Modified:
   branches/2.6/http/javascripts/mod_digitize_tab.php
   trunk/mapbender/http/javascripts/mod_digitize_tab.php
Log:
focus for the wfsWindow 

Modified: branches/2.6/http/javascripts/mod_digitize_tab.php
===================================================================
--- branches/2.6/http/javascripts/mod_digitize_tab.php	2009-11-09 10:13:14 UTC (rev 4966)
+++ branches/2.6/http/javascripts/mod_digitize_tab.php	2009-11-09 14:38:34 UTC (rev 4967)
@@ -1566,11 +1566,14 @@
 function showWfs(geometryIndex) {
 	wfsConf = parent.get_complete_wfs_conf();
 
+	if(typeof wfsWindow != 'undefined') {
+		wfsWindow.close();
+	}
+	
 	wfsWindow = open("", "wfsattributes", "width="+wfsWindowWidth+", height="+wfsWindowHeight+", resizable, dependent=yes, scrollbars=yes");
 	wfsWindow.document.open("text/html");
 	wfsWindow.focus();
-	wfsWindow.focus();
-
+	
 	var str = "";
 	var strStyle = "";
 	var defaultIndex = -1;

Modified: trunk/mapbender/http/javascripts/mod_digitize_tab.php
===================================================================
--- trunk/mapbender/http/javascripts/mod_digitize_tab.php	2009-11-09 10:13:14 UTC (rev 4966)
+++ trunk/mapbender/http/javascripts/mod_digitize_tab.php	2009-11-09 14:38:34 UTC (rev 4967)
@@ -1767,12 +1767,14 @@
 function showWfs(geometryIndex) {
 	wfsConf = parent.get_complete_wfs_conf();
 
+	if(typeof wfsWindow != 'undefined') {
+		wfsWindow.close();
+	}
+	
 	wfsWindow = open("", "wfsattributes", "width="+wfsWindowWidth+", height="+wfsWindowHeight+", resizable, dependent=yes, scrollbars=yes");
 	wfsWindow.document.open("text/html");
 	wfsWindow.focus();
 	
-	wfsWindow.focus();
-
 	var str = "";
 	var strStyle = "";
 	var defaultIndex = -1;



More information about the Mapbender_commits mailing list