diff options
author | Thomas Steur <thomas.steur@gmail.com> | 2015-11-29 23:46:11 +0300 |
---|---|---|
committer | Thomas Steur <thomas.steur@gmail.com> | 2015-11-30 02:50:59 +0300 |
commit | f210d65cdc52ff8f472becab89f1a91d7e16572b (patch) | |
tree | a4d5ac2637f23a119174757b958f0fe376afd3ac /plugins/Overlay/javascripts/Piwik_Overlay.js | |
parent | aba0368bf19f9aca2a988ee2f6420b925880b394 (diff) |
forward selected segment to transition in overlay
Diffstat (limited to 'plugins/Overlay/javascripts/Piwik_Overlay.js')
-rw-r--r-- | plugins/Overlay/javascripts/Piwik_Overlay.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/plugins/Overlay/javascripts/Piwik_Overlay.js b/plugins/Overlay/javascripts/Piwik_Overlay.js index d04f8e5fbe..4bde0ee343 100644 --- a/plugins/Overlay/javascripts/Piwik_Overlay.js +++ b/plugins/Overlay/javascripts/Piwik_Overlay.js @@ -236,7 +236,11 @@ var Piwik_Overlay = (function () { // handle transitions link $transitionsLink.click(function () { - DataTable_RowActions_Transitions.launchForUrl(iframeCurrentPageNormalized); + var unescapedSegment = null; + if (segment) { + unescapedSegment = unescape(segment); + } + DataTable_RowActions_Transitions.launchForUrl(iframeCurrentPageNormalized, unescapedSegment); return false; }); |