[Mapbender-commits] r6206 - trunk/mapbender/lib
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Mon May 17 07:52:18 EDT 2010
Author: verenadiewald
Date: 2010-05-17 07:52:17 -0400 (Mon, 17 May 2010)
New Revision: 6206
Modified:
trunk/mapbender/lib/resultGeometryListController.js
Log:
dataTables with i18n
Modified: trunk/mapbender/lib/resultGeometryListController.js
===================================================================
--- trunk/mapbender/lib/resultGeometryListController.js 2010-05-17 10:26:19 UTC (rev 6205)
+++ trunk/mapbender/lib/resultGeometryListController.js 2010-05-17 11:52:17 UTC (rev 6206)
@@ -211,11 +211,14 @@
//table.append($("<tbody></tbody>"));
if (me.datatable != null){ me.datatable.remove();}
- // and clear all out everythuing wtf why is there
+ Mapbender.languageId;
me.datatable = me.table.dataTable({
// see http://www.sprymedia.co.uk/dataTables/example_dom.html
"sDom": '<i<"resultdatatable"t>p> ',
- "bJQueryUI": true
+ "bJQueryUI": true,
+ "oLanguage": {
+ "sUrl":"../extensions/dataTables-1.5/lang/"+Mapbender.languageId +".txt"
+ }
});
$(".resultdatatable").css("clear","both");
$(".resultdatatable table").css("width","95%");
More information about the Mapbender_commits
mailing list