diff options
author | benakamoorthi <benaka.moorthi@gmail.com> | 2012-09-22 00:37:53 +0400 |
---|---|---|
committer | benakamoorthi <benaka.moorthi@gmail.com> | 2012-09-22 00:37:53 +0400 |
commit | 27b1f9d95e6ff61474265466858b39bc8905aec4 (patch) | |
tree | 8ab4bbd6f2aa8afdc5b49972f52dfe0417be840b /plugins/Live/Controller.php | |
parent | d72be804606771b5a53c69d8407a110f28b9c541 (diff) |
Fixes #3381, add ability to disable row actions in HTML datatables and disable them in visitor log to fix chrome issue.
git-svn-id: http://dev.piwik.org/svn/trunk@7036 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'plugins/Live/Controller.php')
-rw-r--r-- | plugins/Live/Controller.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/Live/Controller.php b/plugins/Live/Controller.php index d687e939b8..e293177027 100644 --- a/plugins/Live/Controller.php +++ b/plugins/Live/Controller.php @@ -77,6 +77,12 @@ class Piwik_Live_Controller extends Piwik_Controller // disable the RSS feed $view->disableShowExportAsRssFeed(); + // disable all row actions + if ($view instanceof Piwik_ViewDataTable_HtmlTable) + { + $view->disableRowActions(); + } + $view->setReportDocumentation(Piwik_Translate('Live_VisitorLogDocumentation', array('<br />', '<br />'))); $view->setCustomParameter('dataTablePreviousIsFirst', 1); $view->setCustomParameter('filterEcommerce', Piwik_Common::getRequestVar('filterEcommerce', 0, 'int')); |