[Mapbender-commits] r5435 - trunk/mapbender/http/javascripts

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Tue Jan 26 08:48:56 EST 2010


Author: verenadiewald
Date: 2010-01-26 08:48:55 -0500 (Tue, 26 Jan 2010)
New Revision: 5435

Modified:
   trunk/mapbender/http/javascripts/mod_ResultList.js
Log:
element var for resultList title

Modified: trunk/mapbender/http/javascripts/mod_ResultList.js
===================================================================
--- trunk/mapbender/http/javascripts/mod_ResultList.js	2010-01-26 13:24:25 UTC (rev 5434)
+++ trunk/mapbender/http/javascripts/mod_ResultList.js	2010-01-26 13:48:55 UTC (rev 5435)
@@ -42,6 +42,7 @@
 options.resultHighlightColor 	= options.resultHighlightColor || "#ff0000";
 options.resultHighlightZIndex  = options.resultHighlightZIndex || 100;
 options.resultHighlightLineWidth  = options.resultHighlightLineWidth || 2;
+options.resultListTitle  = options.resultListTitle || "ResultList";
 
 var ResultGeometryList = function(){
 	//store a callback for the function to call when a row is clicke
@@ -305,7 +306,7 @@
 	};
 
 	if(display_popup){
-		$('#'+options.id).dialog({autoOpen: false , width:600, draggable: true});
+		$('#'+options.id).dialog({autoOpen: false , width:600, draggable: true, title: options.resultListTitle});
 	}
 	else{
 		$('#'+options.id).css("display","none");



More information about the Mapbender_commits mailing list