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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Tue May 18 08:00:46 EDT 2010


Author: verenadiewald
Date: 2010-05-18 08:00:40 -0400 (Tue, 18 May 2010)
New Revision: 6210

Modified:
   trunk/mapbender/http/javascripts/mod_loadwmc.js
Log:
i18n for dataTables

Modified: trunk/mapbender/http/javascripts/mod_loadwmc.js
===================================================================
--- trunk/mapbender/http/javascripts/mod_loadwmc.js	2010-05-18 11:49:58 UTC (rev 6209)
+++ trunk/mapbender/http/javascripts/mod_loadwmc.js	2010-05-18 12:00:40 UTC (rev 6210)
@@ -511,10 +511,14 @@
 		}
 		
 		// create datatables
+		Mapbender.languageId;
 		if (options.listWmc) {
 			wmcTable = $("#" + options.id + "_wmclist_table").dataTable({
 				"bPaginate": true,
-				"bJQueryUI": true
+				"bJQueryUI": true,
+				"oLanguage": {
+					"sUrl":"../extensions/dataTables-1.5/lang/"+Mapbender.languageId +".txt"
+				}	
 			});
 		}
 	};



More information about the Mapbender_commits mailing list