[Piwik-svn] r409 - trunk/modules
svnmaster at piwik.org
svnmaster at piwik.org
Sun Mar 23 02:47:18 CET 2008
Author: matt
Date: 2008-03-23 02:47:17 +0100 (Sun, 23 Mar 2008)
New Revision: 409
Modified:
trunk/modules/ViewDataTable.php
Log:
- fixing bug recently introduced, tables were not ajaxified anymore
Modified: trunk/modules/ViewDataTable.php
===================================================================
--- trunk/modules/ViewDataTable.php 2008-03-23 01:42:49 UTC (rev 408)
+++ trunk/modules/ViewDataTable.php 2008-03-23 01:47:17 UTC (rev 409)
@@ -214,13 +214,13 @@
protected function getUniqIdTable()
{
-
+ $uniqIdTable = '';
// if we request a subDataTable the $this->currentControllerAction DIV ID is already there in the page
// we make the DIV ID really unique by appending the ID of the subtable requested
- if( $this->idSubtable !== false
- && $this->idSubtable != 0)
+ if( $this->idSubtable != false)
{
- $uniqIdTable .= 'subTable_' . $this->idSubtable;
+ // see also datatable.js (the ID has to match with the html ID created to be replaced by the result of the ajax call)
+ $uniqIdTable = 'subDataTable_' . $this->idSubtable;
}
else
{
More information about the Piwik-svn
mailing list