Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Aubry <mattab@users.noreply.github.com>2016-12-19 05:22:53 +0300
committerGitHub <noreply@github.com>2016-12-19 05:22:53 +0300
commit8f4bc9695380d465e7dfe365e66a0153f76040ff (patch)
tree3d6bbfa74611f54feb70c3fc5c1df81e8ca6bf94 /plugins/CoreHome
parentaf368cfc02bae5026429b0418d83de2b0890ef44 (diff)
parent8dbc563e99432f38de107be3dfb0f0a17b9e8f87 (diff)
Merge pull request #11038 from piwik/3.x-dev3.0.0
Piwik 3.0.0 release
Diffstat (limited to 'plugins/CoreHome')
-rw-r--r--plugins/CoreHome/javascripts/dataTable.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/CoreHome/javascripts/dataTable.js b/plugins/CoreHome/javascripts/dataTable.js
index e364251f9b..763674585d 100644
--- a/plugins/CoreHome/javascripts/dataTable.js
+++ b/plugins/CoreHome/javascripts/dataTable.js
@@ -509,7 +509,10 @@ $.extend(DataTable.prototype, UIControl.prototype, {
setMaxTableWidthIfNeeded(domElem, 1200);
- var isTableVisualization = this.jsViewDataTable && this.jsViewDataTable.indexOf('table') !== -1;
+ var isTableVisualization = this.jsViewDataTable
+ && typeof this.jsViewDataTable === 'string'
+ && typeof this.jsViewDataTable.indexOf === 'function'
+ && this.jsViewDataTable.indexOf('table') !== -1;
if (isTableVisualization) {
// we do this only for html tables