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

christoph at osgeo.org christoph at osgeo.org
Wed Jun 21 10:21:22 EDT 2006


Author: christoph
Date: 2006-06-21 14:21:22+0000
New Revision: 599

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

Log:
improvement:

added stylesheet to wfs update/save/delete window

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=599&p1=trunk/mapbender/http/javascripts/mod_digitize_tab.php&p2=trunk/mapbender/http/javascripts/mod_digitize_tab.php&r1=598&r2=599
==============================================================================
--- trunk/mapbender/http/javascripts/mod_digitize_tab.php	(original)
+++ trunk/mapbender/http/javascripts/mod_digitize_tab.php	2006-06-21 14:21:22+0000
@@ -752,8 +752,15 @@
 //
 function showWfs(index) {
 
-	wfsWindow = open("", "wfsattributes", "width=300, height=300, resizable, dependent=yes, scrollbars=yes");
-	wfsWindow.document.open("text/html");			
+	wfsWindow = open("", "wfsattributes", "width=400, height=300, resizable, dependent=yes, scrollbars=yes");
+	wfsWindow.document.open("text/html");
+	var cssLink = wfsWindow.document.createElement("link");
+	cssLink.setAttribute("href", wfsCssUrl); 
+	cssLink.setAttribute("type", "text/css"); 
+	cssLink.setAttribute("rel", "stylesheet"); 
+	var cssTmp = wfsWindow.document.getElementsByTagName("head")[0];
+	cssTmp.appendChild(cssLink);
+				
 	wfs_conf = parent.get_complete_wfs_conf();
 	var str = "";
 	var defaultIndex = -1;




More information about the Mapbender_commits mailing list