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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Fri Feb 19 11:15:52 EST 2010


Author: kmq
Date: 2010-02-19 11:15:51 -0500 (Fri, 19 Feb 2010)
New Revision: 5530

Modified:
   trunk/mapbender/http/javascripts/mod_ResultList.js
Log:
added method to set title of the resultListdialog

Modified: trunk/mapbender/http/javascripts/mod_ResultList.js
===================================================================
--- trunk/mapbender/http/javascripts/mod_ResultList.js	2010-02-19 15:54:30 UTC (rev 5529)
+++ trunk/mapbender/http/javascripts/mod_ResultList.js	2010-02-19 16:15:51 UTC (rev 5530)
@@ -138,6 +138,17 @@
 	//  callback = function(feature) {}
 		popupButtons.push(buttondef);
 	};
+	
+	/*
+	 * Method : setTitle
+	 *
+	 *  Description: sets the title of the resultList
+	 *  Parameters:
+	 *  title - {String} the new title of the resultList
+	*/
+	this.setTitle = function(title){
+		$('#'+options.id).data("title.dialog",title);
+	}
 
 	/*
 	 * Method: getSelected



More information about the Mapbender_commits mailing list