diff options
author | Thomas Steur <thomas.steur@gmail.com> | 2015-01-29 06:48:23 +0300 |
---|---|---|
committer | Thomas Steur <thomas.steur@gmail.com> | 2015-02-13 08:23:10 +0300 |
commit | 8ef47c8e4a3fb0094b4b0c19df8ed18c58cf7a6f (patch) | |
tree | 162315afc7f5a5bc0c8840eff30251a76b665b6f /plugins/CoreHome/javascripts/dataTable.js | |
parent | ec8dc0f150d71b752188dac3d01d29950ae6f869 (diff) |
refs #4633 open segmented visitor log with one click on a row
Diffstat (limited to 'plugins/CoreHome/javascripts/dataTable.js')
-rw-r--r-- | plugins/CoreHome/javascripts/dataTable.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/CoreHome/javascripts/dataTable.js b/plugins/CoreHome/javascripts/dataTable.js index 6746663b7e..48dffda0c5 100644 --- a/plugins/CoreHome/javascripts/dataTable.js +++ b/plugins/CoreHome/javascripts/dataTable.js @@ -140,6 +140,10 @@ $.extend(DataTable.prototype, UIControl.prototype, { return !!$('#dashboardWidgetsArea').length; }, + getReportMetadata: function () { + return JSON.parse(this.$element.attr('data-report-metadata') || '{}'); + }, + //Reset DataTable filters (used before a reload or view change) resetAllFilters: function () { var self = this; |