[Piwik-svn] r201 - trunk/plugins/Home/templates
svnmaster at piwik.org
svnmaster at piwik.org
Sat Jan 19 21:23:12 CET 2008
Author: julien
Date: 2008-01-19 21:23:12 +0100 (Sat, 19 Jan 2008)
New Revision: 201
Modified:
trunk/plugins/Home/templates/datatable.js
Log:
Correction of "low population" bug
Modified: trunk/plugins/Home/templates/datatable.js
===================================================================
--- trunk/plugins/Home/templates/datatable.js 2008-01-19 19:27:33 UTC (rev 200)
+++ trunk/plugins/Home/templates/datatable.js 2008-01-19 20:23:12 UTC (rev 201)
@@ -266,14 +266,14 @@
var self = this;
// Showing the link "Exclude low population" for this DIV
- if( self.param.show_exclude_low_population )
+ if(self.param.show_exclude_low_population)
{
// Set the string for the DIV, either "Exclude low pop" or "Include all"
$('#dataTableExcludeLowPopulation', domElem)
.each(
function()
{
- if(self.param.filter_excludelowpop)
+ if(Number(self.param.filter_excludelowpop) != 0)
{
string = 'Include all population';
}
@@ -288,7 +288,7 @@
.click(
function()
{
- if(self.param.filter_excludelowpop)
+ if(Number(self.param.filter_excludelowpop) != 0)
{
self.param.filter_excludelowpop = 0;
self.param.filter_excludelowpop_value = 0;
More information about the Piwik-svn
mailing list