diff options
Diffstat (limited to 'plugins/Live/javascripts/rowaction.js')
-rw-r--r-- | plugins/Live/javascripts/rowaction.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/plugins/Live/javascripts/rowaction.js b/plugins/Live/javascripts/rowaction.js index 604695bcec..c01aa4e7c8 100644 --- a/plugins/Live/javascripts/rowaction.js +++ b/plugins/Live/javascripts/rowaction.js @@ -79,6 +79,13 @@ extraParams = {date: this.dataTable.param.date, period: this.dataTable.param.period}; } + $.each(this.dataTable.param, function (index, value) { + // we automatically add fields like idDimension, idGoal etc. + if (index !== 'idSite' && index.indexOf('id') === 0 && $.isNumeric(value)) { + extraParams[index] = value; + } + }); + this.openPopover(apiMethod, segment, extraParams); }; |