[Mapbender-commits] r4505 - branches/mifan_dev/mapbender/http/javascripts

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Fri Aug 7 09:07:57 EDT 2009


Author: mifan
Date: 2009-08-07 09:07:57 -0400 (Fri, 07 Aug 2009)
New Revision: 4505

Modified:
   branches/mifan_dev/mapbender/http/javascripts/mod_searchCSW_ajax.php
Log:
get options values and pass on

Modified: branches/mifan_dev/mapbender/http/javascripts/mod_searchCSW_ajax.php
===================================================================
--- branches/mifan_dev/mapbender/http/javascripts/mod_searchCSW_ajax.php	2009-08-07 13:01:46 UTC (rev 4504)
+++ branches/mifan_dev/mapbender/http/javascripts/mod_searchCSW_ajax.php	2009-08-07 13:07:57 UTC (rev 4505)
@@ -475,16 +475,16 @@
 	function mod_searchCSW(){
 		var simplesearchterm = document.getElementById('basic_search').value;
 		try{
-			var getrecords_media = document.getElementById('opt_getrecords_media').value;
+			getrecords_media = document.getElementById('opt_getrecords_media').value;
 		}
 		catch(err){
-			getrecords_media = 'get';
+			//getrecords_media = 'get';
 		}
 		try{
-		var getrecords_query = document.getElementById('opt_getrecords_query').value;
+			getrecords_query = document.getElementById('opt_getrecords_query').value;
 		}
 		catch(err){
-			getrecords_query = 'cql';
+			//getrecords_query = 'cql';
 		}
 		//check for simple or advanced
 		if(global_is_advanced){



More information about the Mapbender_commits mailing list