diff options
Diffstat (limited to 'plugins/Overlay/javascripts/Piwik_Overlay.js')
-rw-r--r-- | plugins/Overlay/javascripts/Piwik_Overlay.js | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/plugins/Overlay/javascripts/Piwik_Overlay.js b/plugins/Overlay/javascripts/Piwik_Overlay.js index 184b7c75db..35584be177 100644 --- a/plugins/Overlay/javascripts/Piwik_Overlay.js +++ b/plugins/Overlay/javascripts/Piwik_Overlay.js @@ -240,13 +240,17 @@ var Piwik_Overlay = (function () { if (segment) { unescapedSegment = unescape(segment); } - DataTable_RowActions_Transitions.launchForUrl(iframeCurrentPageNormalized, unescapedSegment); + if (window.DataTable_RowActions_Transitions) { + DataTable_RowActions_Transitions.launchForUrl(iframeCurrentPageNormalized, unescapedSegment); + } return false; }); // handle row evolution link $rowEvolutionLink.click(function () { - DataTable_RowActions_RowEvolution.launch('Actions.getPageUrls', iframeCurrentActionLabel); + if (window.DataTable_RowActions_RowEvolution) { + DataTable_RowActions_RowEvolution.launch('Actions.getPageUrls', iframeCurrentActionLabel); + } return false; }); |